diff mbox

regulator: arizona-ldo1: remove bypass functionality

Message ID 1404400687-19035-1-git-send-email-nikesh@opensource.wolfsonmicro.com (mailing list archive)
State New, archived
Headers show

Commit Message

nikesh@opensource.wolfsonmicro.com July 3, 2014, 3:18 p.m. UTC
From: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>

WM5110/8280 devices do not support bypass mode for LDO1 so remove
the bypass callbacks registered with regulator core.

Signed-off-by: Nikesh Oswal <nikesh@opensource.wolfsonmicro.com>
---
 drivers/regulator/arizona-ldo1.c |    2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown July 3, 2014, 4:58 p.m. UTC | #1
On Thu, Jul 03, 2014 at 04:18:07PM +0100, Nikesh Oswal wrote:
> From: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
> 
> WM5110/8280 devices do not support bypass mode for LDO1 so remove
> the bypass callbacks registered with regulator core.
> 
> Signed-off-by: Nikesh Oswal <nikesh@opensource.wolfsonmicro.com>

Please fix your configuration so that these two line up, it raises red
flags that they don't even though it's fairly clear that they're most
likely both for the same person.

I'd recommend not using your corporate mail for community work since if
you reply from it and get a mail footer added (as is standard) people
will tend not to respond positively.
diff mbox

Patch

diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c
index 04f262a..4c9db58 100644
--- a/drivers/regulator/arizona-ldo1.c
+++ b/drivers/regulator/arizona-ldo1.c
@@ -143,8 +143,6 @@  static struct regulator_ops arizona_ldo1_ops = {
 	.map_voltage = regulator_map_voltage_linear,
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
 	.set_voltage_sel = regulator_set_voltage_sel_regmap,
-	.get_bypass = regulator_get_bypass_regmap,
-	.set_bypass = regulator_set_bypass_regmap,
 };
 
 static const struct regulator_desc arizona_ldo1 = {