[PATCH next 1/2] mtd: rawnand: mtk: Factorize out the logic cleaning mtk chips

Pratyush Yadav pratyush at kernel.org
Wed Sep 4 07:15:01 PDT 2024


On Mon, Aug 26 2024, Miquel Raynal wrote:

> There are some un-freed resources in one of the error path which would
> benefit from a helper going through all the registered mtk chips one by
> one and perform all the necessary cleanup. This is precisely what the
> remove path does, so let's extract the logic in a helper.
>
> There is no functional change.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Reviewed-by: Pratyush Yadav <pratyush at kernel.org>

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list