Skip to content
Commit d62f68c1 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

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: default avatarNuno Sa <nuno.a@analog.com>
Link: https://lore.kernel.org/r/20240128150537.44592-8-jic23@kernel.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent fba730dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment