diff options
| author | Xu Wang <vulab@iscas.ac.cn> | 2020-10-14 08:57:22 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-10-16 11:50:31 +0200 |
| commit | 5988c2695f4074b44049cd77c4482c0748a8d632 (patch) | |
| tree | 11bf423b9ecab43bc89b4ab10e4b27ce738ac34c /lib/mpi/mpiutil.c | |
| parent | f57074189dfc96500b866f522fb7a7b5d21b2c27 (diff) | |
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
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
