aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2024-02-17 16:42:46 +0000
committerJonathan Cameron <[email protected]>2024-03-25 19:50:09 +0000
commit2fe97fccbd3f1da3f64818c123264db7cd2a257b (patch)
treef158831102462d6c57d1117737660eb94bd9228d /tools/perf/scripts/python/event_analyzing_sample.py
parent1693d2a7459183dcc8e7e89d849076f082f3d4c9 (diff)
iio: addac: ad74413r: 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. The use of fwnode_for_each_available_child_node() here is assumed to have been down to a false assumption that device_for_each_child_node() doesn't check avaialble - so this transition to the scoped device_for_each_child_node_scoped() is equivalent. Cc: Rasmus Villemoes <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions