From b1a397dc1a59cc482e623e780514acb8bb29e3bf Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 6 Jul 2012 19:24:12 +0800 Subject: 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 Signed-off-by: Mark Brown diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index 910c9b2..ea58a44 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 = { -- cgit v0.10.2