summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorYihao Han <hanyihao@vivo.com>2022-06-02 11:42:18 +0200
committerHelge Deller <deller@gmx.de>2022-06-20 20:22:16 +0200
commit5491424d17bdeb7b7852a59367858251783f8398 (patch)
tree656041ae0addf9c97a1e86c1a3599d242c3bbebf /drivers/video/backlight
parentvideo: fbdev: au1100fb: Drop unnecessary NULL ptr check (diff)
downloadlinux-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