diff options
| author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2026-02-05 16:12:11 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-04 00:20:01 +0300 |
| commit | 31ac64108d0e2484dc7fdeaf990cc88a42894639 (patch) | |
| tree | 117a699c04608eef81eace250acac725adb9828a /include/linux/pps_kernel.h | |
| parent | 8358169ebb04a4e60c5730682ea5e8706bca485a (diff) | |
| download | linux-31ac64108d0e2484dc7fdeaf990cc88a42894639.tar.xz | |
iio: sca3000: use guard(mutex) to simplify return paths
Switch sca3000_stop_all_interrupts() to use guard(mutex) to simplify the
error paths without needing a goto.
Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
