diff options
author | Robert Marko <robimarko@gmail.com> | 2022-06-04 21:32:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-07 21:38:13 +0200 |
commit | f210f387c8c05ae0bd5312b8b6b85398c20b94f9 (patch) | |
tree | 94b6f45192d2cc07ad47256dd7baf26c700400a9 /drivers/regulator | |
parent | regulator: mp5416: remove kernel.h include (diff) | |
download | linux-f210f387c8c05ae0bd5312b8b6b85398c20b94f9.tar.xz linux-f210f387c8c05ae0bd5312b8b6b85398c20b94f9.zip |
regulator: qcom_smd: add get_voltage to MP5496
Add the get_voltage OP to MP5496 ops using the generic rpm_reg_get_voltage.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20220604193300.125758-1-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/qcom_smd-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c index 7dff94a2eb7e..a73fbbf2daa8 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -205,6 +205,7 @@ static const struct regulator_ops rpm_mp5496_ops = { .is_enabled = rpm_reg_is_enabled, .list_voltage = regulator_list_voltage_linear_range, + .get_voltage = rpm_reg_get_voltage, .set_voltage = rpm_reg_set_voltage, }; |