diff options
| author | Rajveer Chaudhari <rajveer.chaudhari.linux@gmail.com> | 2026-03-07 14:49:12 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-14 15:10:22 +0300 |
| commit | 594ca8ced1b380309f3a23e2a77d8846ec5fd025 (patch) | |
| tree | 9b50541ba5b801f611e3d77a62fd2014320e383e /include/linux/stringify.h | |
| parent | c4e73728626e9930ecbb14b9cb2418d36feeefe4 (diff) | |
| download | linux-594ca8ced1b380309f3a23e2a77d8846ec5fd025.tar.xz | |
iio: accel: adxl372: convert to guard(mutex)
Replace manual mutex_lock/mutex_unlock pair with guard(mutex) in
adxl372_write_threshold_value(). This ensures the mutex is released
on all return paths and allows returning directly without a goto label.
Signed-off-by: Rajveer Chaudhari <rajveer.chaudhari.linux@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
