]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ti-ads1100: Use guard(mutex) to allow direct returns
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Mar 2025 16:58:14 +0000 (16:58 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:55 +0000 (19:09 +0100)
commitd36adc77ee435d809fd9ba509e79c189be968050
treef52d2542208d72ceae994f456613c92c8d215de4
parent5fe8331928c6138292b81d4761a8370d75b393fa
iio: adc: ti-ads1100: Use guard(mutex) to allow direct returns

Use of automated lock release simplifies the code.

Cc: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250309165819.1346684-4-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads1100.c