Skip to content

Commit

Permalink
regulator: twl: Remove unused fields from struct twlreg_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 23, 2016
1 parent cac28ae commit 15cc95c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/regulator/twl-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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, \
Expand Down

0 comments on commit 15cc95c

Please sign in to comment.