clk: walk the orphan clock list more simply
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 Dec 2015 10:23:07 +0000 (19:23 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Feb 2016 19:53:14 +0000 (11:53 -0800)
commit0e8f6e499ebfd3617c81a89778f55fa6c54623e8
tree0c99743d31b2a44421349d4084a3114b2a359ae5
parent858d5881564026cbc4e6f5e25ae878a27df5d4c9
clk: walk the orphan clock list more simply

This loop can be much simpler. If a new parent is available for
orphan clocks, __clk_init_parent(orphan) can detect it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c