linux/drivers/iio/addac
Nuno Sa 012091bc3c iio: addac: ad74413r: simplify with cleanup.h
Make use of mutex guard() and IIO iio_device_claim_direct_scoped() to
simplify code and error handling.

While at it, use devm_mutex_init() to initialize the mutex.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20241016-dev-ad74413r-minor-improv-v1-3-13c9c769237d@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-10-21 19:19:25 +01:00
..
ad74115.c Linux 6.12-rc2 2024-10-12 11:43:29 +01:00
ad74413r.c iio: addac: ad74413r: simplify with cleanup.h 2024-10-21 19:19:25 +01:00
Kconfig IIO: 1st set of new device support, features and cleanup for 6.7 2023-10-20 07:54:15 +02:00
Makefile iio: addac: add AD74115 driver 2022-11-23 20:49:00 +00:00
stx104.c iio: addac: stx104: Add 8254 Counter/Timer support 2023-09-17 10:29:41 +01:00