[PATCH] mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed

Miquel Raynal miquel.raynal at bootlin.com
Mon May 16 09:44:43 PDT 2022


Hi Phil,

phil.edworthy at renesas.com wrote on Thu, 12 May 2022 19:45:58 +0100:

> All code in clk_disable_unprepare() already checks the clk ptr using
> IS_ERR_OR_NULL so there is no need to check it again before calling it.
> A lot of other drivers already rely on this behaviour, so it's safe
> to do so here.
> 
> Signed-off-by: Phil Edworthy <phil.edworthy at renesas.com>

Both patches have been applied to nand/next.

Thanks,
Miquèl



More information about the linux-mtd mailing list