diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-28 15:05:30 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 16:16:10 +0000 |
| commit | eabc6b08476f18de5e0d7fc02aa92f4896f2fc63 (patch) | |
| tree | 39a6e352c948b6476d5df06705bedb65f5ac5ad3 /tools/perf/scripts/python/syscall-counts.py | |
| parent | iio: dummy: Use automatic lock and direct mode cleanup. (diff) | |
| download | linux-eabc6b08476f18de5e0d7fc02aa92f4896f2fc63.tar.gz linux-eabc6b08476f18de5e0d7fc02aa92f4896f2fc63.zip | |
iio: accel: adxl367: Use automated cleanup for locks and iio direct mode.
Switching to the iio_device_claim_direct_scoped() for state
and to guard() based unlocking of mutexes simplifies error handling
by allowing direct returns when an error is encountered.
Reviewed-by: Nuno Sa <nuno.a@analog.com>
Link: https://lore.kernel.org/r/20240128150537.44592-4-jic23@kernel.org
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
