[PATCH v2 15/16] clk: simplify clk_fetch_parent_index() function

2015-12-28 Thread Masahiro Yamada
The clk_core_get_parent_by_index can be used as a helper function to simplify the implementation of clk_fetch_parent_index(). Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/clk/clk.c | 18 ++ 1 file changed, 2 insertions(+), 16

[RESEND PATCH v2 15/16] clk: simplify clk_fetch_parent_index() function

2015-12-28 Thread Masahiro Yamada
The clk_core_get_parent_by_index can be used as a helper function to simplify the implementation of clk_fetch_parent_index(). Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/clk/clk.c | 18 ++ 1 file changed, 2 insertions(+), 16