1
0
Fork 0

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>
hifive-unleashed-5.1
Axel Lin 2012-07-06 19:24:12 +08:00 committed by Mark Brown
parent b86bbddd6f
commit b1a397dc1a
1 changed files with 0 additions and 1 deletions

View 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 = {