diff options
author | Javier Carrasco <[email protected]> | 2024-09-30 22:38:26 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-04 09:28:26 -0700 |
commit | e97dccd3e976331cd2c9fa17fcb716af19bd5c68 (patch) | |
tree | e08fa0c5a0d090479d6fbba12135406546e0ddde /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1d39d02a1535658962f9370312be7b2d634946a5 (diff) |
net: hns: hisilicon: hns_dsaf_mac: switch to scoped device_for_each_child_node()
Use device_for_each_child_node_scoped() to simplify the code by removing
the need for explicit calls to fwnode_handle_put() in every error path.
This approach also accounts for any error path that could be added.
Signed-off-by: Javier Carrasco <[email protected]>
Link: https://patch.msgid.link/20240930-net-device_for_each_child_node_scoped-v2-2-35f09333c1d7@gmail.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions