Skip to content
Commit 5491424d authored by Yihao Han's avatar Yihao Han Committed by Helge Deller
Browse files

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: default avatarYihao Han <hanyihao@vivo.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent b5c525ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment