aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2024-03-30 19:08:44 +0000
committerJonathan Cameron <[email protected]>2024-04-06 11:29:06 +0100
commitf875790e6ae8b53e99530e6c7f7d9394c1f6b9ee (patch)
treef25e6caf0858b4143a086ee6cc0bad3992c32392 /tools/perf/scripts/python/task-analyzer.py
parent18abc64bfe0478716adcf0fd6b95ea4dbfe9f9e7 (diff)
iio: adc: ab8500-gpadc: Use device_for_each_child_node_scoped() to simplify erorr paths.
This new loop definition automatically releases the handle on early exit reducing the chance of bugs that cause resource leaks. Cc: Linus Walleij <[email protected]> Reviewed-by: Linus Walleij <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions