linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: max77802: Remove unused fields from struct max77802_regulator_prv
@ 2014-08-20  2:04 Axel Lin
  2014-08-20 15:21 ` Mark Brown
  2014-08-20 16:10 ` Javier Martinez Canillas
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2014-08-20  2:04 UTC (permalink / raw)
  To: Mark Brown
  Cc: Liam Girdwood, Javier Martinez Canillas, Naveen Krishna Chatradhi,
	linux-kernel@vger.kernel.org

Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/max77802.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c
index 5f022f8..ad1caa9 100644
--- a/drivers/regulator/max77802.c
+++ b/drivers/regulator/max77802.c
@@ -65,8 +65,6 @@ static unsigned int ramp_table_77802_4bit[] = {
 };
 
 struct max77802_regulator_prv {
-	int num_regulators;
-	struct regulator_dev *rdev[MAX77802_REG_MAX];
 	unsigned int opmode[MAX77802_REG_MAX];
 };
 
-- 
1.9.1




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

end of thread, other threads:[~2014-08-20 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20  2:04 [PATCH] regulator: max77802: Remove unused fields from struct max77802_regulator_prv Axel Lin
2014-08-20 15:21 ` Mark Brown
2014-08-20 16:10 ` Javier Martinez Canillas

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).