diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-24 12:32:10 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-25 19:50:10 +0000 |
| commit | 5cfb5587f9145ea4e6de4e5c87f9bc60b6587e3b (patch) | |
| tree | 3c54ac4e51e17b634d0ef5c675715df68329ed23 /tools/perf/scripts/python/mem-phys-addr.py | |
| 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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20240224123215.161469-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
