diff options
author | Jinjie Ruan <[email protected]> | 2024-08-30 11:13:24 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-09-03 12:54:43 +0200 |
commit | f834d572b7e995fa443f802da0f19d9c1285f41b (patch) | |
tree | f7c454b62e46549510468773b6d8a3771f0597e8 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 3a3eea209e6d3c1ad3b8b3155a4350caf1d7fa16 (diff) |
net: dsa: microchip: Use scoped function to simplfy code
Avoids the need for manual cleanup of_node_put() in early exits
from the loop by using for_each_available_child_of_node_scoped().
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jinjie Ruan <[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