diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-28 15:05:37 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 16:16:11 +0000 |
| commit | 129e8619fccb82a3cf0e096f145d277552690de7 (patch) | |
| tree | 131057e4617af8e81923a8265192453e7fb1e115 /tools/perf/scripts/python | |
| parent | iio: adc: ad4130: Use automatic cleanup of locks and direct mode. (diff) | |
| download | linux-129e8619fccb82a3cf0e096f145d277552690de7.tar.gz linux-129e8619fccb82a3cf0e096f145d277552690de7.zip | |
iio: adc: ad7091r-base: Use auto cleanup of locks.
Done to reduce boilerplate and simplify code flow by allowing early
returns with the lock automatically released.
Reviewed-by: Nuno Sa <nuno.a@analog.com>
Link: https://lore.kernel.org/r/20240128150537.44592-11-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
