[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1341573852.6611.3.camel@phoenix>
Date: Fri, 06 Jul 2012 19:24:12 +0800
From: Axel Lin <axel.lin@...il.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Kyungmin Park <kyungmin.park@...sung.com>,
Liam Girdwood <lrg@...com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/2] 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@...il.com>
---
drivers/regulator/max8952.c | 1 -
1 file changed, 1 deletion(-)
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 = {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists