diff options
author | David Lechner <[email protected]> | 2024-04-29 18:40:10 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-05-03 11:08:13 +0900 |
commit | cffb8d74bd4e9dd0653c7093c4a5164a72c52b1f (patch) | |
tree | c42c4b86f5ba3fcf9176b157f029f28b133c1464 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b250c20b64290808aa4b5cc6d68819a7ee28237f (diff) |
hwmon: (adc128d818) Use devm_regulator_get_enable_read_voltage()
We can reduce boilerplate code and eliminate the driver remove()
function by using devm_regulator_get_enable_read_voltage().
A new external_vref flag is added since we no longer have the handle
to the regulator to check if it is present.
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: David Lechner <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/20240429-regulator-get-enable-get-votlage-v2-2-b1f11ab766c1@baylibre.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions