]> git.baikalelectronics.ru Git - kernel.git/commit
ata: pata_ftide010: Remove unneeded ERROR check before clk_disable_unprepare
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 13 May 2022 07:55:54 +0000 (15:55 +0800)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 16 May 2022 11:22:37 +0000 (20:22 +0900)
commite2f932cd69d87b0a4234764b5607e8fdd8a28df3
tree591ae416fd04292b4c379558d31729b429ffb1bd
parent8c68ee196368b0aaa7a13fa0116fa7ed63d30d35
ata: pata_ftide010: Remove unneeded ERROR check before clk_disable_unprepare

ERROR check is already in clk_disable() and clk_unprepare() by using
IS_ERR_OR_NULL. Remove unneeded ERROR check for ftide->pclk here.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_ftide010.c