diff options
| author | Axel Lin <axel.lin@ingics.com> | 2016-11-23 08:13:20 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2016-11-23 10:46:43 -0500 |
| commit | 15cc95c442859e8b26b59234569d926c246e45f1 (patch) | |
| tree | bee8b38a081accdde57f850f4f5566a13c6a4e37 | |
| parent | cac28ae60e3dae1814f12f0d24d041a67153692c (diff) | |
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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | drivers/regulator/twl-regulator.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c index d572b8a583e4..6c9ec84121bd 100644 --- a/drivers/regulator/twl-regulator.c +++ b/drivers/regulator/twl-regulator.c | |||
| @@ -48,12 +48,6 @@ struct twlreg_info { | |||
| 48 | /* State REMAP default configuration */ | 48 | /* State REMAP default configuration */ |
| 49 | u8 remap; | 49 | u8 remap; |
| 50 | 50 | ||
| 51 | /* chip constraints on regulator behavior */ | ||
| 52 | u16 min_mV; | ||
| 53 | u16 max_mV; | ||
| 54 | |||
| 55 | u8 flags; | ||
| 56 | |||
| 57 | /* used by regulator core */ | 51 | /* used by regulator core */ |
| 58 | struct regulator_desc desc; | 52 | struct regulator_desc desc; |
| 59 | 53 | ||
| @@ -497,7 +491,6 @@ static const struct twlreg_info TWL4030_INFO_##label = { \ | |||
| 497 | static const struct twlreg_info TWLFIXED_INFO_##label = { \ | 491 | static const struct twlreg_info TWLFIXED_INFO_##label = { \ |
| 498 | .base = offset, \ | 492 | .base = offset, \ |
| 499 | .id = num, \ | 493 | .id = num, \ |
| 500 | .min_mV = mVolts, \ | ||
| 501 | .remap = remap_conf, \ | 494 | .remap = remap_conf, \ |
| 502 | .desc = { \ | 495 | .desc = { \ |
| 503 | .name = #label, \ | 496 | .name = #label, \ |
