Commit a998ec3d authored by Wan Jiabing's avatar Wan Jiabing Committed by Bartosz Golaszewski
Browse files

gpio: ftgpio: Remove unneeded ERROR check before clk_disable_unprepare



clk_disable_unprepare() already checks ERROR by using IS_ERR_OR_NULL.
Remove unneeded ERROR check for g->clk.

Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent 5561a2b0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment