diff options
author | Jinjie Ruan <[email protected]> | 2024-08-30 11:13:19 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-09-03 12:54:43 +0200 |
commit | 51c884291a94fd6598427d7d6c211f1f20780d57 (patch) | |
tree | eba34e6b21a0da5576557dd3c1d46fac2cc38d99 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 81b4eb62878a6b6722f28e64e6c7d62bba07292b (diff) |
net: dsa: realtek: Use for_each_child_of_node_scoped()
Avoid need to manually handle of_node_put() by using
for_each_child_of_node_scoped(), which can simplfy code.
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions