[PATCH -next RESEND 08/10] mtd: rawnand: renesas: Use for_each_child_of_node_scoped()

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 6 08:03:34 PDT 2024


On Mon, 2024-08-26 at 09:43:26 UTC, Jinjie Ruan wrote:
> Avoids the need for manual cleanup of_node_put() in early exits
> from the loop.
> 
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list