summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2024-11-21 15:05:19 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-07 17:47:58 +0000
commit439c2cef8157bd3856200effdf4bb4ce3ff8e774 (patch)
treece25d1e7271e091edb77c766776376d3be5e04ba /tools/perf/scripts/python/export-to-sqlite.py
parentd95986fb818d3f76841f2cd32c74dd7961a2a15d (diff)
downloadlinux-439c2cef8157bd3856200effdf4bb4ce3ff8e774.tar.gz
linux-439c2cef8157bd3856200effdf4bb4ce3ff8e774.zip
iio: bu27034: simplify using guard(mutex)
The BU27034 uses mutex for protecting the gain / time / scale changes. The clean-up for a few of the functions can be slightly simplified by removing the goto-based error handling/unlocking and by utilizing the guard(mutex) scoped mutex handling instead. Simplify driver by using the scoped mutexes. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://patch.msgid.link/4e65a4725c211b166906f70fdb5ba90f2af0f570.1732193263.git.mazziesaccount@gmail.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