projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0557fb
)
clk: keystone: make use of of_clk_parent_fill helper function
author
Dinh Nguyen
<dinguyen@opensource.altera.com>
Tue, 7 Jul 2015 03:59:03 +0000
(22:59 -0500)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:59:01 +0000
(11:59 -0700)
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/keystone/pll.c
patch
|
blob
|
history
diff --git
a/drivers/clk/keystone/pll.c
b/drivers/clk/keystone/pll.c
index 4a375ead70e9f2c58c1eb6aaced07ea39e579b7b..d6ef063dae7edf1b0a8b3869d081b1633c8f8b2e 100644
(file)
--- a/
drivers/clk/keystone/pll.c
+++ b/
drivers/clk/keystone/pll.c
@@
-309,8
+309,7
@@
static void __init of_pll_mux_clk_init(struct device_node *node)
return;
}
- parents[0] = of_clk_get_parent_name(node, 0);
- parents[1] = of_clk_get_parent_name(node, 1);
+ of_clk_parent_fill(node, parents, 2);
if (!parents[0] || !parents[1]) {
pr_err("%s: missing parent clocks\n", __func__);
return;