Re: [PATCH 1/3] clk: remove redundant negative index check in of_clk_get_parent_name()

2015-11-20 Thread Stephen Boyd
On 11/20, Masahiro Yamada wrote: > This if-block can be dropped because the of_parse_phandle_with_args() > in the following line returns -EINVAL for negative index. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora

Re: [PATCH 1/3] clk: remove redundant negative index check in of_clk_get_parent_name()

2015-11-20 Thread Stephen Boyd
On 11/20, Masahiro Yamada wrote: > This if-block can be dropped because the of_parse_phandle_with_args() > in the following line returns -EINVAL for negative index. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc.

[PATCH 1/3] clk: remove redundant negative index check in of_clk_get_parent_name()

2015-11-19 Thread Masahiro Yamada
This if-block can be dropped because the of_parse_phandle_with_args() in the following line returns -EINVAL for negative index. Signed-off-by: Masahiro Yamada --- drivers/clk/clk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index

[PATCH 1/3] clk: remove redundant negative index check in of_clk_get_parent_name()

2015-11-19 Thread Masahiro Yamada
This if-block can be dropped because the of_parse_phandle_with_args() in the following line returns -EINVAL for negative index. Signed-off-by: Masahiro Yamada --- drivers/clk/clk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/clk/clk.c