diff options
| author | Lorenzo Bertin Salvador <[email protected]> | 2024-04-20 15:27:43 -0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-21 18:42:33 +0100 |
| commit | b80ad8e3cd2712b78b98804d1f59199680d8ed91 (patch) | |
| tree | 8fdfb6d6416d31540b1a5fc81dfb39e1329600b3 /tools/perf/scripts/python/bin | |
| parent | cf1c833f89e7c8635a28c3db15c68ead150ea712 (diff) | |
iio: adc: ti-ads131e08: Use device_for_each_child_node_scoped() to simplify error paths.
This loop definition automatically releases the handle on early exit
reducing the chance of bugs that cause resource leaks.
Co-developed-by: Briza Mel Dias de Sousa <[email protected]>
Signed-off-by: Briza Mel Dias de Sousa <[email protected]>
Signed-off-by: Lorenzo Bertin Salvador <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions