diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-06-18 16:32:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-25 23:04:50 +0300 |
commit | 8d61d01cdec275719b70295e98e4d45c5f284f29 (patch) | |
tree | 76f4e4504a39f54eb10c15a95655b23bc809e1a8 /tools/perf/scripts/python/syscall-counts.py | |
parent | ccd52641f9afad7cf66a667e7004ac08443bd5d6 (diff) | |
download | linux-8d61d01cdec275719b70295e98e4d45c5f284f29.tar.xz |
iio: gyro: adis16260: make use of the new lock helpers
Use the new auto cleanup based locks so error paths are simpler.
While at it, reduce a bit the scope of the lock as we did not needed it
protecting all the data in the switch() branch.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240618-dev-iio-adis-cleanup-v1-5-bd93ce7845c7@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions