Re: [PATCH] clk: ingenic/TCU: Remove NULL pointer check before clk_enable/disable

2020-11-04 Thread Paul Cercueil
Hi, Le mer. 4 nov. 2020 à 7:11, Xu Wang a écrit : Because clk_enable and clk_disable already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang Reviewed-by: Paul Cercueil Cheers, -Paul --- drivers/clk/ingenic/tcu.c | 6 ++--

[PATCH] clk: ingenic/TCU: Remove NULL pointer check before clk_enable/disable

2020-11-03 Thread Xu Wang
Because clk_enable and clk_disable already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- drivers/clk/ingenic/tcu.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/clk/ingenic/tcu.c b/drivers/