summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-20 10:04:17 +0800
committerMark Brown <broonie@linaro.org>2014-08-20 10:21:41 -0500
commit29b9c318025bece77d019eada2dee856e3ca50b2 (patch)
tree986a638aee31301b99636bb20f0f8cabab3f5a0f /drivers/regulator
parent4ece7045eb7cceaff9667b4ee2eec78915d3ee3b (diff)
downloadlinux-29b9c318025bece77d019eada2dee856e3ca50b2.tar.gz
linux-29b9c318025bece77d019eada2dee856e3ca50b2.tar.bz2
linux-29b9c318025bece77d019eada2dee856e3ca50b2.zip
regulator: max77802: Remove unused fields from struct max77802_regulator_prv
Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max77802.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c
index 5f022f859d49..ad1caa902ef0 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];
};