diff options
| author | Nuno Sa <nuno.sa@analog.com> | 2024-06-18 15:32:09 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-25 21:04:50 +0100 |
| commit | 9d9dae6ae8ab440835981b209ebe6ba8465b46a4 (patch) | |
| tree | e639ad0afa17f79a86d70732d4d2200627e35277 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | iio: gyro: adis16260: make use of the new lock helpers (diff) | |
| download | linux-9d9dae6ae8ab440835981b209ebe6ba8465b46a4.tar.gz linux-9d9dae6ae8ab440835981b209ebe6ba8465b46a4.zip | |
iio: imu: adis16400: make use of the new lock helpers
Use the new auto cleanup based locks so error paths are simpler.
While at it, removed 'ret' from adis16400_write_raw() by doing
return adis_write_reg_16();
instead of
ret = adis_write_reg_16();
return ret;
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240618-dev-iio-adis-cleanup-v1-6-bd93ce7845c7@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
