Re: [PATCH] au1100fb: Remove NULL pointer check before clk_enable/disable

2020-10-19 Thread Thomas Zimmermann
Hi On 14.10.20 10:21, Xu Wang wrote: > Because clk_enable, clk_disable, clk_prepare, and clk_unprepare already > checked NULL clock parameter, so the additional checks are unnecessary, > just remove them. > > Signed-off-by: Xu Wang Sam convinced me to merge this patch as-is with out the

Re: [PATCH] au1100fb: Remove NULL pointer check before clk_enable/disable

2020-10-15 Thread Thomas Zimmermann
Hi On Wed, 14 Oct 2020 08:21:37 + Xu Wang wrote: > Because clk_enable, clk_disable, clk_prepare, and clk_unprepare already > checked NULL clock parameter, so the additional checks are unnecessary, > just remove them. All clk_*() functions seem to handle NULL pointers gracefully, so you can

[PATCH] au1100fb: Remove NULL pointer check before clk_enable/disable

2020-10-14 Thread Xu Wang
Because clk_enable, clk_disable, clk_prepare, and clk_unprepare already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- drivers/video/fbdev/au1100fb.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git