aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-09-11 16:42:02 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-13 14:38:42 +0100
commitd904b8e6d4efadbcb4a4a0e077850cabbee513ed (patch)
treed0faf0aef6703068f2014147ced931143d19f227 /rust/helpers/helpers.c
parentiio: adc: ad7124: use read_avail() for scale_available (diff)
downloadlinux-d904b8e6d4efadbcb4a4a0e077850cabbee513ed.tar.gz
linux-d904b8e6d4efadbcb4a4a0e077850cabbee513ed.zip
iio: adc: ad7124: use guard(mutex) to simplify return paths
Use guard(mutex) in a couple of functions to allow direct returns. This simplifies the code a bit and will make later changes easier. cleanup.h was already included for prior use of __free() Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions