aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2024-03-30 19:08:45 +0000
committerJonathan Cameron <[email protected]>2024-04-06 11:29:06 +0100
commit8c40277ec673635a24fccf016510583065d30069 (patch)
treed3c0677544235a9577083e4a74997d899ec7bb02 /tools/perf/scripts/python/export-to-sqlite.py
parentf875790e6ae8b53e99530e6c7f7d9394c1f6b9ee (diff)
iio: adc: ad4130: Use device_for_each_child_node_scoped() to simplify error paths.
This loop definition removes the need for manual releasing of the fwnode_handle in early exit paths (here an error path) allow simplfication of the code and reducing the chance of future modificiations not releasing fwnode_handle correctly. Cc: Cosmin Tanislav <[email protected]> Cc: Nuno Sa <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions