diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-03-28 14:58:29 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 11:59:38 +0100 |
commit | d3d7bccc07a06a33fb9ba97ab764df8d46fb87d0 (patch) | |
tree | a86aca48debbd930e18a3746774aaf14618142a4 /drivers/regulator/88pm8607.c | |
parent | 6085d4d9c39a49f647c57288a245386f797d1001 (diff) | |
download | linux-rt-d3d7bccc07a06a33fb9ba97ab764df8d46fb87d0.tar.gz |
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/88pm8607.c')
-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) } static struct regulator_ops pm8607_regulator_ops = { + .list_voltage = pm8607_list_voltage, .set_voltage = pm8607_set_voltage, .get_voltage = pm8607_get_voltage, .enable = pm8607_enable, |