[PATCH v2 13/16] clk: walk the orphan clock list more simply

2015-12-28 Thread Masahiro Yamada
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 --- Changes in v2: None drivers/clk/clk.c | 21 ++--- 1 file changed, 6 insertions(+), 15

[RESEND PATCH v2 13/16] clk: walk the orphan clock list more simply

2015-12-28 Thread Masahiro Yamada
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 --- Changes in v2: None drivers/clk/clk.c | 21 ++--- 1 file changed, 6 insertions(+), 15