Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528407
| From | Axel Lin <axel.lin@ingics.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] regulator: twl: Remove unused fields from struct twlreg_info |
| Date | 2016-11-23 14:40 +0100 |
| Message-ID | <sGFWi-5vy-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The min_mV, max_mV and flags fields are not used, so remove them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/twl-regulator.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index d572b8a..6c9ec84 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, \
--
2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] regulator: twl: Remove unused fields from struct twlreg_info Axel Lin <axel.lin@ingics.com> - 2016-11-23 14:40 +0100 Applied "regulator: twl: Remove unused fields from struct twlreg_info" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-11-23 17:40 +0100
csiph-web