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>
This commit is contained in:
parent
a8280a5dd5
commit
f210f387c8
|
@ -205,6 +205,7 @@ static const struct regulator_ops rpm_mp5496_ops = {
|
||||||
.is_enabled = rpm_reg_is_enabled,
|
.is_enabled = rpm_reg_is_enabled,
|
||||||
.list_voltage = regulator_list_voltage_linear_range,
|
.list_voltage = regulator_list_voltage_linear_range,
|
||||||
|
|
||||||
|
.get_voltage = rpm_reg_get_voltage,
|
||||||
.set_voltage = rpm_reg_set_voltage,
|
.set_voltage = rpm_reg_set_voltage,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue