Re: [PATCH -next RESEND 02/10] mtd: rawnand: cadence: Use for_each_child_of_node_scoped()
From: Miquel Raynal
Date: Fri Sep 06 2024 - 11:05:13 EST
On Mon, 2024-08-26 at 09:43:20 UTC, Jinjie Ruan wrote:
> Avoids the need for manual cleanup of_node_put() in early exits
> from the loop by using for_each_child_of_node_scoped().
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel