video: fbdev: sh_mobile_lcdcfb: Remove redundant null check before clk_prepare_enable...
authorXu Wang <vulab@iscas.ac.cn>
Wed, 14 Oct 2020 08:57:22 +0000 (08:57 +0000)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 16 Oct 2020 09:50:31 +0000 (11:50 +0200)
commit5988c2695f4074b44049cd77c4482c0748a8d632
tree11bf423b9ecab43bc89b4ab10e4b27ce738ac34c
parentf57074189dfc96500b866f522fb7a7b5d21b2c27
video: fbdev: sh_mobile_lcdcfb: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

Because clk_prepare_enable() and clk_disable_unprepare() already checked
NULL clock parameter, so the additional checks are unnecessary, just
remove them.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014085722.26069-1-vulab@iscas.ac.cn
drivers/video/fbdev/sh_mobile_lcdcfb.c