]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad7266: use devm_regulator_get_enable_read_voltage
authorDavid Lechner <dlechner@baylibre.com>
Wed, 12 Jun 2024 21:03:06 +0000 (16:03 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Jun 2024 09:51:32 +0000 (10:51 +0100)
commit634c6b5ab6289be8f0c2934b9174c26d170da6d2
treed6cf64c4865aeef9ab8cac9f41c508c803f63a84
parent7347d295f54141515af76535134b3ee37d0c781c
iio: adc: ad7266: use devm_regulator_get_enable_read_voltage

This makes use of the new devm_regulator_get_enable_read_voltage()
function to reduce boilerplate code.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240612-iio-adc-ref-supply-refactor-v2-2-fa622e7354e9@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7266.c