Skip to content

Commit 15cc95c

Browse files
AxelLinbroonie
authored andcommitted
regulator: twl: Remove unused fields from struct twlreg_info
The min_mV, max_mV and flags fields are not used, so remove them. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent cac28ae commit 15cc95c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/regulator/twl-regulator.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ struct twlreg_info {
4848
/* State REMAP default configuration */
4949
u8 remap;
5050

51-
/* chip constraints on regulator behavior */
52-
u16 min_mV;
53-
u16 max_mV;
54-
55-
u8 flags;
56-
5751
/* used by regulator core */
5852
struct regulator_desc desc;
5953

@@ -497,7 +491,6 @@ static const struct twlreg_info TWL4030_INFO_##label = { \
497491
static const struct twlreg_info TWLFIXED_INFO_##label = { \
498492
.base = offset, \
499493
.id = num, \
500-
.min_mV = mVolts, \
501494
.remap = remap_conf, \
502495
.desc = { \
503496
.name = #label, \

0 commit comments

Comments
 (0)