summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGiorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>2026-04-20 15:34:45 +0400
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:23 +0100
commit0179a95bbb8ce2fc36ba3766c7db5c7b4dd180b9 (patch)
tree48f04fd9413e3d112c2665f912a1a1ff2cff0625 /tools/perf/scripts/python/stackcollapse.py
parentce80292ead5bb42b50a6b63e44fd95c0edf9d334 (diff)
iio: adc: ti-ads7924: Use guard(mutex) in ADC read helper
Replace mutex_lock()/mutex_unlock() pair with guard(mutex)() and move the lock into ads7924_get_adc_result(). Keeping the guard in the helper makes the locking scope match the operation being protected. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions