aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-10-16 16:22:01 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-21 19:19:25 +0100
commit012091bc3c38c05224819fb39540b206ac08ad6b (patch)
tree1eda44d4c673dc91a18d5f90d6642be3b64fcda8 /tools/perf/scripts/python/export-to-sqlite.py
parentiio: addac: ad74413r: use devm_regulator_get_enable_read_voltage() (diff)
downloadlinux-012091bc3c38c05224819fb39540b206ac08ad6b.tar.gz
linux-012091bc3c38c05224819fb39540b206ac08ad6b.zip
iio: addac: ad74413r: simplify with cleanup.h
Make use of mutex guard() and IIO iio_device_claim_direct_scoped() to simplify code and error handling. While at it, use devm_mutex_init() to initialize the mutex. Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20241016-dev-ad74413r-minor-improv-v1-3-13c9c769237d@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions