aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGabriel Schwartz <[email protected]>2024-04-26 17:01:14 -0300
committerJonathan Cameron <[email protected]>2024-04-29 20:53:10 +0100
commit427298c632952709a33f3205d489ac496ae5b003 (patch)
treee68e643bd650797bad3cf3505e2991d909112e72 /tools/perf/scripts/python/flamegraph.py
parent0d8d62640763edfc11cc8568fe2115ad5af4e67e (diff)
iio: adc: rtq6056: Use automated cleanup for mode handling in write_raw
Using iio_device_claim_direct_scoped() to automate mode claim and release simplifies code flow and allows for straight-forward error handling with direct returns on errors. Signed-off-by: Gabriel Schwartz <[email protected]> Reviewed-by: Marcelo Schmitt <[email protected]> Reviewed-by: ChiYuan Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions