diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-30 18:53:05 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-04-06 11:18:51 +0100 |
| commit | eff19f6b9e00f70cd20a3c62779b68b6e820500c (patch) | |
| tree | 89760c0f9e6957db21d28688396de5184095010b /tools/perf/scripts/python/compaction-times.py | |
| parent | 2d766e79ba2bd15e59ceda4b0596e369c9564948 (diff) | |
iio: dac: ad5770r: 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: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240330185305.1319844-9-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
