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

video: fbdev: au1100fb: Drop unnecessary NULL ptr check



clk_disable() already checks the clk ptr using IS_ERR_OR_NULL(clk) and
clk_enable() checks the clk ptr using !clk, so there is no need to check clk
ptr again before calling them.

Signed-off-by: default avatarYihao Han <hanyihao@vivo.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent a09d2d00
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