Commit b1a397dc authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent b86bbddd
...@@ -151,7 +151,6 @@ static struct regulator_ops max8952_ops = { ...@@ -151,7 +151,6 @@ static struct regulator_ops max8952_ops = {
.disable = max8952_disable, .disable = max8952_disable,
.get_voltage_sel = max8952_get_voltage_sel, .get_voltage_sel = max8952_get_voltage_sel,
.set_voltage_sel = max8952_set_voltage_sel, .set_voltage_sel = max8952_set_voltage_sel,
.set_suspend_disable = max8952_disable,
}; };
static const struct regulator_desc regulator = { static const struct regulator_desc regulator = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment