regulator: da9055: Remove unused v_shift field from struct da9055_volt_reg
authorAxel Lin <axel.lin@ingics.com>
Sun, 6 Jan 2013 04:42:00 +0000 (12:42 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 Jan 2013 11:14:53 +0000 (11:14 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/da9055-regulator.c

index a4b9cb8c43175343bdfaa2a04bc51038e4003c05..e11e29bd9616e69aa406c7a2e5d94b2f4537e205 100644 (file)
@@ -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,\