mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
iio: proximity: sx9324: Use automated cleanup for locks and IIO mode claiming.
This simplifies error handling paths and generallly removes a bunch of boilerplate. Reviewed-by: Nuno Sa <nuno.a@analog.com> Link: https://lore.kernel.org/r/20240128150537.44592-8-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
fba730dd8a
commit
d62f68c13f
1 changed files with 39 additions and 70 deletions
Loading…
Add table
Add a link
Reference in a new issue