linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: twl: Remove unused fields from struct twlreg_info
@ 2016-11-23 13:13 Axel Lin
  2016-11-23 13:13 ` [PATCH 2/2] regulator: twl6030: " Axel Lin
  2016-11-23 16:31 ` Applied "regulator: twl: " Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2016-11-23 13:13 UTC (permalink / raw)
  To: Mark Brown
  Cc: Tony Lindgren, Nicolae Rosia, Liam Girdwood, linux-omap,
	linux-kernel, Axel Lin

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-23 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 13:13 [PATCH 1/2] regulator: twl: Remove unused fields from struct twlreg_info Axel Lin
2016-11-23 13:13 ` [PATCH 2/2] regulator: twl6030: " Axel Lin
2016-11-23 16:31   ` Applied "regulator: twl6030: Remove unused fields from struct twlreg_info" to the regulator tree Mark Brown
2016-11-23 16:31 ` Applied "regulator: twl: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).