summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-07-06 15:24:12 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-09 22:45:11 +0400
commitb1a397dc1a59cc482e623e780514acb8bb29e3bf (patch)
tree5f0d9416976d249acbb5bb5821ebbd517a9e0964 /drivers/regulator
parentb86bbddd6f40c1241aa6cad049a4cdf7d529f09e (diff)
downloadlinux-b1a397dc1a59cc482e623e780514acb8bb29e3bf.tar.xz
regulator: max8952: Remove wrong set_suspend_disable callback setting
Using the same ops for both .disable and .set_suspend_disable callbacks is actively broken. This patch removes .set_suspend_disable callback setting. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max8952.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c
index 910c9b26d499..ea58a4404101 100644
--- a/drivers/regulator/max8952.c
+++ b/drivers/regulator/max8952.c
@@ -151,7 +151,6 @@ static struct regulator_ops max8952_ops = {
.disable = max8952_disable,
.get_voltage_sel = max8952_get_voltage_sel,
.set_voltage_sel = max8952_set_voltage_sel,
- .set_suspend_disable = max8952_disable,
};
static const struct regulator_desc regulator = {