summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/twl-regulator.c
diff options
context:
space:
mode:
authorAxel Lin2016-11-23 14:13:20 +0100
committerMark Brown2016-11-23 16:46:43 +0100
commit15cc95c442859e8b26b59234569d926c246e45f1 (patch)
treebee8b38a081accdde57f850f4f5566a13c6a4e37 /drivers/regulator/twl-regulator.c
parentregulator: twl: split twl6030 logic into its own file (diff)
downloadkernel-qcow2-linux-15cc95c442859e8b26b59234569d926c246e45f1.tar.gz
kernel-qcow2-linux-15cc95c442859e8b26b59234569d926c246e45f1.tar.xz
kernel-qcow2-linux-15cc95c442859e8b26b59234569d926c246e45f1.zip
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>
Diffstat (limited to 'drivers/regulator/twl-regulator.c')
-rw-r--r--drivers/regulator/twl-regulator.c7
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 {
/* 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, \