Commit 7bf7b297 authored by Axel Haslam's avatar Axel Haslam Committed by Jonathan Cameron
Browse files

iio: dac: ad5791: Use devm_regulator_get_enable_read_voltage



Simplify probe by using of the devm_regulator_get_enable_read_voltage.

Suggested-by: default avatarDavid Lechner <dlechner@baylibre.com>
Reviewed-by: default avatarDavid Lechner <dlechner@baylibre.com>
Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
Link: https://patch.msgid.link/20241031071746.848694-6-ahaslam@baylibre.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 120c678a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment