projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6085d4d
)
regulator: Set list_voltage callback for 88pm8607
author
Axel Lin
<axel.lin@gmail.com>
Wed, 28 Mar 2012 06:58:29 +0000
(14:58 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:38 +0000
(11:59 +0100)
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>
drivers/regulator/88pm8607.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/88pm8607.c
b/drivers/regulator/88pm8607.c
index 28b81ae4cf7f32c18e2d752dad185c4926ba62b9..981b47ae7d3c2c162ea54e050ef0d95694ac738d 100644
(file)
--- 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,