projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88348ef
)
regulator: ab8500: Remove get_voltage implementation for ab8500_regulator_fixed_ops
author
Axel Lin
<axel.lin@gmail.com>
Fri, 10 Aug 2012 01:34:53 +0000
(09:34 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 28 Aug 2012 18:00:27 +0000
(11:00 -0700)
This is not required after commit
f7df20ec
"regulator: core: Use list_voltage() to read single voltage regulators"
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/ab8500.c
b/drivers/regulator/ab8500.c
index 8807166eab7f94d61a90478800c092d2fd2182df..c884a5c4b4735b776dc14580bf7e0055c108cfba 100644
(file)
--- a/
drivers/regulator/ab8500.c
+++ b/
drivers/regulator/ab8500.c
@@
-257,16
+257,10
@@
static struct regulator_ops ab8500_regulator_ops = {
.set_voltage_time_sel = ab8500_regulator_set_voltage_time_sel,
};
-static int ab8500_fixed_get_voltage(struct regulator_dev *rdev)
-{
- return rdev->desc->min_uV;
-}
-
static struct regulator_ops ab8500_regulator_fixed_ops = {
.enable = ab8500_regulator_enable,
.disable = ab8500_regulator_disable,
.is_enabled = ab8500_regulator_is_enabled,
- .get_voltage = ab8500_fixed_get_voltage,
.list_voltage = regulator_list_voltage_linear,
};