summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9055-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-19 13:42:33 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-19 13:42:33 +0100
commiteb230d4a6120673938dddd1e4fbbf3ff6def2976 (patch)
treee3e6e7bf0c3ef552913d4f8ff54e6f2fc1902e8b /drivers/regulator/da9055-regulator.c
parentMerge remote-tracking branch 'regulator/topic/core' into regulator-next (diff)
parentregulator: da9055: Remove unused v_shift field from struct da9055_volt_reg (diff)
downloadlinux-eb230d4a6120673938dddd1e4fbbf3ff6def2976.tar.xz
linux-eb230d4a6120673938dddd1e4fbbf3ff6def2976.zip
Merge remote-tracking branch 'regulator/topic/da9055' into regulator-next
Diffstat (limited to 'drivers/regulator/da9055-regulator.c')
-rw-r--r--drivers/regulator/da9055-regulator.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c
index 1a05ac66878f..30221099d09c 100644
--- a/drivers/regulator/da9055-regulator.c
+++ b/drivers/regulator/da9055-regulator.c
@@ -58,7 +58,6 @@ struct da9055_volt_reg {
int reg_b;
int sl_shift;
int v_mask;
- int v_shift;
};
struct da9055_mode_reg {
@@ -388,7 +387,6 @@ static struct regulator_ops da9055_ldo_ops = {
.reg_b = DA9055_REG_VBCORE_B + DA9055_ID_##_id, \
.sl_shift = 7,\
.v_mask = (1 << (vbits)) - 1,\
- .v_shift = (vbits),\
},\
}
@@ -417,7 +415,6 @@ static struct regulator_ops da9055_ldo_ops = {
.reg_b = DA9055_REG_VBCORE_B + DA9055_ID_##_id, \
.sl_shift = 7,\
.v_mask = (1 << (vbits)) - 1,\
- .v_shift = (vbits),\
},\
.mode = {\
.reg = DA9055_REG_BCORE_MODE,\