diff options
| author | 2024-02-24 12:32:10 +0000 | |
|---|---|---|
| committer | 2024-03-25 19:50:10 +0000 | |
| commit | 5cfb5587f9145ea4e6de4e5c87f9bc60b6587e3b (patch) | |
| tree | 3c54ac4e51e17b634d0ef5c675715df68329ed23 /scripts/Makefile.thinlto | |
| parent | iio: temp: ltc2983: Use __free(fwnode_handle) and device_for_each_node_scoped() (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
