mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
iio: adc: max1363: Use automatic cleanup for locks and iio mode claiming.
This simplifies error return paths. Reviewed-by: Nuno Sa <nuno.a@analog.com> Link: https://lore.kernel.org/r/20240128150537.44592-6-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
b6dde10923
commit
3d329bcd48
1 changed files with 79 additions and 92 deletions
Loading…
Add table
Add a link
Reference in a new issue