]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: twl: Remove unused fields from struct twlreg_info
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Nov 2016 13:13:20 +0000 (21:13 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Nov 2016 15:46:43 +0000 (15:46 +0000)
The min_mV, max_mV and flags fields are not used, so remove them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/twl-regulator.c

index d572b8a583e4038b6e5bb8ec364de797f31e0e1d..6c9ec84121bde4fd124bbdfea390e509f53530ad 100644 (file)
@@ -48,12 +48,6 @@ struct twlreg_info {
        /* State REMAP default configuration */
        u8                      remap;
 
-       /* chip constraints on regulator behavior */
-       u16                     min_mV;
-       u16                     max_mV;
-
-       u8                      flags;
-
        /* used by regulator core */
        struct regulator_desc   desc;
 
@@ -497,7 +491,6 @@ static const struct twlreg_info TWL4030_INFO_##label = { \
 static const struct twlreg_info TWLFIXED_INFO_##label = { \
        .base = offset, \
        .id = num, \
-       .min_mV = mVolts, \
        .remap = remap_conf, \
        .desc = { \
                .name = #label, \