Re: [PATCH] ata: Remove unneeded ERROR check before clk_disable_unprepare

From: Linus Walleij
Date: Fri May 13 2022 - 17:27:30 EST


On Fri, May 13, 2022 at 9:56 AM Wan Jiabing <wanjiabing@xxxxxxxx> wrote:

> 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@xxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij