Thread (19 messages) 19 messages, 3 authors, 2014-08-03

Re: [PATCH v3 06/15] drivers: clk: st: STiH407: Support for Flexgen Clocks

flat view

From: Gabriel Fernandez <hidden>
Date: 2014-08-03 10:58:26

Thanks Mike !


On 29 July 2014 07:31, Mike Turquette [off-list ref] wrote:
Quoting Gabriel FERNANDEZ (2014-07-15 08:20:22)
quoted
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help