diff options
| author | Jonathan Cameron <[email protected]> | 2024-02-24 12:32:10 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-03-25 19:50:10 +0000 |
| commit | 5cfb5587f9145ea4e6de4e5c87f9bc60b6587e3b (patch) | |
| tree | 3c54ac4e51e17b634d0ef5c675715df68329ed23 /tools/perf/scripts/python | |
| parent | 8ca555bd059a4e645b5cf0ec09c3e002a3d347af (diff) | |
iio: adc: rzg2l_adc: Use device_for_each_child_node_scoped()
Switching to the _scoped() version removes the need for manual
calling of fwnode_handle_put() in the paths where the code
exits the loop early. In this case that's all in error paths.
Cc: Lad Prabhakar <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions