Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3d7bccc authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: Set list_voltage callback for 88pm8607



Current code implements pm8607_list_voltage but does not set the list_voltage
callback function in pm8607_regulator_ops. Fix it.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Tested-by: default avatarJett Zhou <jtzhou@marvell.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6085d4d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -328,6 +328,7 @@ static int pm8607_is_enabled(struct regulator_dev *rdev)
}
}


static struct regulator_ops pm8607_regulator_ops = {
static struct regulator_ops pm8607_regulator_ops = {
	.list_voltage	= pm8607_list_voltage,
	.set_voltage	= pm8607_set_voltage,
	.set_voltage	= pm8607_set_voltage,
	.get_voltage	= pm8607_get_voltage,
	.get_voltage	= pm8607_get_voltage,
	.enable		= pm8607_enable,
	.enable		= pm8607_enable,