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:38 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-07 17:47:58 +0000
commit534674463a5978c6eda8185b31f5b903a9543f46 (patch)
tree80cb002aeba6acc51459893107dbbce6042afec8 /tools/perf/scripts/python/export-to-sqlite.py
parent439c2cef8157bd3856200effdf4bb4ce3ff8e774 (diff)
downloadlinux-534674463a5978c6eda8185b31f5b903a9543f46.tar.gz
linux-534674463a5978c6eda8185b31f5b903a9543f46.zip
iio: bm1390: simplify using guard(mutex)
The BM1390 uses mutex for protecting the fifo read sequence. 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/a4c2f21189964132d245531b77fb0865562443a1.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