diff options
author | David Lechner <dlechner@baylibre.com> | 2024-06-21 17:11:57 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-25 21:04:51 +0100 |
commit | 3341d69268accb5294b569ec37e55212a8a28ac5 (patch) | |
tree | 67555e14b411b9b4331366ede45b2e31a4202d8b /drivers/peci | |
parent | a4a9fc32f8156c7e1a9d6dddd20f19ca6acab452 (diff) |
iio: dac: ad3552r: use devm_regulator_get_enable_read_voltage()
Use devm_regulator_get_enable_read_voltage() to simplify the code.
Error message is slightly changed since there is only one error return
now.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240621-iio-regulator-refactor-round-2-v1-10-49e50cd0b99a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/peci')
0 files changed, 0 insertions, 0 deletions