diff options
author | Yihao Han <hanyihao@vivo.com> | 2022-06-02 11:42:18 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-06-20 20:22:16 +0200 |
commit | 5491424d17bdeb7b7852a59367858251783f8398 (patch) | |
tree | 656041ae0addf9c97a1e86c1a3599d242c3bbebf /drivers/video/backlight | |
parent | video: fbdev: au1100fb: Drop unnecessary NULL ptr check (diff) | |
download | linux-5491424d17bdeb7b7852a59367858251783f8398.tar.xz linux-5491424d17bdeb7b7852a59367858251783f8398.zip |
video: fbdev: simplefb: Check before clk_put() not needed
clk_put() already checks the clk ptr using !clk and IS_ERR()
so there is no need to check it again before calling it.
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/backlight')
0 files changed, 0 insertions, 0 deletions