diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-03-28 02:58:29 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 06:59:38 -0400 |
commit | d3d7bccc07a06a33fb9ba97ab764df8d46fb87d0 (patch) | |
tree | a86aca48debbd930e18a3746774aaf14618142a4 /drivers/regulator | |
parent | 6085d4d9c39a49f647c57288a245386f797d1001 (diff) |
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: Axel Lin <axel.lin@gmail.com>
Tested-by: Jett Zhou <jtzhou@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/88pm8607.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 28b81ae4cf7f..981b47ae7d3c 100644 --- a/drivers/regulator/88pm8607.c +++ b/drivers/regulator/88pm8607.c | |||
@@ -328,6 +328,7 @@ static int pm8607_is_enabled(struct regulator_dev *rdev) | |||
328 | } | 328 | } |
329 | 329 | ||
330 | static struct regulator_ops pm8607_regulator_ops = { | 330 | static struct regulator_ops pm8607_regulator_ops = { |
331 | .list_voltage = pm8607_list_voltage, | ||
331 | .set_voltage = pm8607_set_voltage, | 332 | .set_voltage = pm8607_set_voltage, |
332 | .get_voltage = pm8607_get_voltage, | 333 | .get_voltage = pm8607_get_voltage, |
333 | .enable = pm8607_enable, | 334 | .enable = pm8607_enable, |