[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140729053149.4906.84119@quantum>
Date: Mon, 28 Jul 2014 22:31:49 -0700
From: Mike Turquette <mturquette@...aro.org>
To: Gabriel FERNANDEZ <gabriel.fernandez@...com>, robh+dt@...nel.org,
pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org
Cc: devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
kernel@...inux.com, "Lee Jones" <lee.jones@...aro.org>,
"Gabriel Fernandez" <gabriel.fernandez@...aro.org>,
"Maxime Coquelin" <maxime.coquelin@...com>,
"Olivier Bideau" <olivier.bideau@...com>
Subject: Re: [PATCH v3 06/15] drivers: clk: st: STiH407: Support for Flexgen Clocks
Quoting Gabriel FERNANDEZ (2014-07-15 08:20:22)
> +static const char ** __init flexgen_get_parents(struct device_node *np,
> + int *num_parents)
> +{
> + const char **parents;
> + int nparents, i;
> +
> + nparents = of_count_phandle_with_args(np, "clocks", "#clock-cells");
FYI, of_clk_get_parent_count provides a nice wrapper around this. Maybe
you can update it some day? Not a blocking issue for this series.
Regards,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists