regulator: arizona-ldo1: remove bypass functionality
authorNikesh Oswal <nikesh@opensource.wolfsonmicro.com>
Fri, 4 Jul 2014 08:55:16 +0000 (09:55 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 4 Jul 2014 17:51:45 +0000 (18:51 +0100)
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>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/regulator/arizona-ldo1.c

index 04f262a836b2887e03b698721db2a460dbfe3965..4c9db589f6c138ff0ce4c63607c353e7360946ea 100644 (file)
@@ -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 = {