Re: [PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable

2020-11-29 Thread Heiko Stuebner
On Fri, 27 Nov 2020 09:05:51 +, Xu Wang wrote: > Because clk_prepare_enable() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. Applied, thanks! [1/1] clk: rockchip: Remove redundant null check before clk_prepare_enable commit:

Re: [PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable

2020-11-27 Thread Stephen Boyd
Quoting Xu Wang (2020-11-27 01:05:51) > Because clk_prepare_enable() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. > > Signed-off-by: Xu Wang > --- Acked-by: Stephen Boyd

[PATCH] clk: rockchip: Remove redundant null check before clk_prepare_enable

2020-11-27 Thread Xu Wang
Because clk_prepare_enable() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/clk/rockchip/clk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk.c