diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-08-26 17:43:21 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-09-06 16:59:44 +0200 |
| commit | e2e4eddf7b16a0cb431878e95e8bb80d893e4077 (patch) | |
| tree | bf9653844278ef4719da62c85182be22a9b0f2a7 /scripts/patch-kernel | |
| parent | fc214e50e292550dcd77e459e59a2a385bda4735 (diff) | |
mtd: rawnand: pl353: Use for_each_child_of_node_scoped()
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@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240826094328.2991664-4-ruanjinjie@huawei.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
