regulator: max8952: Remove wrong set_suspend_disable callback setting
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Jul 2012 11:24:12 +0000 (19:24 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Jul 2012 18:45:11 +0000 (19:45 +0100)
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>
drivers/regulator/max8952.c

index 910c9b26d499f45f50034b417790921649fc4a6f..ea58a44041016fc0c262fb5b35b455e738c078f9 100644 (file)
@@ -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 = {