Skip to content

Commit

Permalink
regulator: max8952: Remove wrong set_suspend_disable callback setting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jul 9, 2012
1 parent b86bbdd commit b1a397d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/regulator/max8952.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit b1a397d

Please sign in to comment.