[PATCH 03/20] clk: sunxi: tcon-ch1: Do not return a negative error in get_parent

2016-06-10 Thread Maxime Ripard
On Tue, May 17, 2016 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard > wrote: > > get_parent is supposed to return an unsigned 8 bit integer, so returning > > -EINVAL is a bad idea. > > > > Remove it. > > > > Reported-by: Dan Carpenter > > Signed-off-by:

[PATCH 03/20] clk: sunxi: tcon-ch1: Do not return a negative error in get_parent

2016-05-17 Thread Chen-Yu Tsai
On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard wrote: > get_parent is supposed to return an unsigned 8 bit integer, so returning > -EINVAL is a bad idea. > > Remove it. > > Reported-by: Dan Carpenter > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai

[PATCH 03/20] clk: sunxi: tcon-ch1: Do not return a negative error in get_parent

2016-05-16 Thread Maxime Ripard
get_parent is supposed to return an unsigned 8 bit integer, so returning -EINVAL is a bad idea. Remove it. Reported-by: Dan Carpenter Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/clk-sun4i-tcon-ch1.c | 3 --- 1 file changed, 3 deletions(-) diff --git