diff options
| author | Jonathan Santos <Jonathan.Santos@analog.com> | 2025-08-24 01:10:03 -0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 15:34:20 +0100 |
| commit | 91812d3843409c235f336f32f1c37ddc790f1e03 (patch) | |
| tree | 8e01e25c86ef79f4875133a7632e488359b02e13 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 681386fe5365591d044fe03d7ae05e5419a78d83 (diff) | |
iio: adc: ad7768-1: use devm_regulator_get_enable_read_voltage()
Use devm_regulator_get_enable_read_voltage() function as a standard and
concise way of reading the voltage from the regulator and keep the
regulator enabled. Replace the regulator descriptor with the direct
voltage value in the device struct.
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
Link: https://patch.msgid.link/20250824041003.9727-1-Jonathan.Santos@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
