regulator: ab8500: Remove unused voltage_shift field from struct expand_register
authorAxel Lin <axel.lin@ingics.com>
Wed, 17 Apr 2013 14:54:00 +0000 (22:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 17:26:30 +0000 (18:26 +0100)
The voltage_shift field of struct expand_register is not used now, remove it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c

index 279793e26d94ac123028cc683ba34c4622fcd4a8..ece31a33aa2e77b0ebe920c66fdbbc427636f454 100644 (file)
@@ -89,7 +89,6 @@ struct ab8500_regulator_info {
                u8 voltage_bank;
                u8 voltage_reg;
                u8 voltage_mask;
-               u8 voltage_shift;
        } expand_register;
 };
 
@@ -1532,7 +1531,6 @@ static struct ab8500_regulator_info
                        .voltage_bank           = 0x04,
                        .voltage_reg            = 0x01,
                        .voltage_mask           = 0x10,
-                       .voltage_shift          = 1,
                }
        },
        [AB8540_LDO_AUX4] = {