summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-02-05 16:12:11 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-04 00:20:01 +0300
commit31ac64108d0e2484dc7fdeaf990cc88a42894639 (patch)
tree117a699c04608eef81eace250acac725adb9828a /include/linux/root_dev.h
parent8358169ebb04a4e60c5730682ea5e8706bca485a (diff)
downloadlinux-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/root_dev.h')
0 files changed, 0 insertions, 0 deletions