aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2024-06-24 15:49:36 +0300
committerJonathan Cameron <[email protected]>2024-06-30 10:38:50 +0100
commit0d2775c18b5d7bfa33bddb575b88e53c4cfdf644 (patch)
tree8cc150bf78b455dff4a406147327186455130df2 /include/uapi/linux
parenta3c2c5c937ed7562b6d120670f2743e979c05881 (diff)
iio: adc: ad7192: use devm_regulator_get_enable_read_voltage
This makes use of the new devm_regulator_get_enable_read_voltage() function to reduce boilerplate code. Error messages have changed slightly since there are now fewer places where we print an error. The rest of the logic of selecting which supply to use as the reference voltage remains the same. Also 1000 is replaced by MILLI in a few places for consistency. Signed-off-by: David Lechner <[email protected]> Signed-off-by: Alisa-Dariana Roman <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions