summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-30 19:08:44 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-04-06 11:29:06 +0100
commitf875790e6ae8b53e99530e6c7f7d9394c1f6b9ee (patch)
treef25e6caf0858b4143a086ee6cc0bad3992c32392 /tools/perf/scripts/python/flamegraph.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 <linus.walleij@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240330190849.1321065-4-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions