regulator: max77802: Remove unused fields from struct max77802_regulator_prv
authorAxel Lin <axel.lin@ingics.com>
Wed, 20 Aug 2014 02:04:17 +0000 (10:04 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 20 Aug 2014 15:21:41 +0000 (10:21 -0500)
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>
drivers/regulator/max77802.c

index 5f022f859d4915a52333780eb81abb3692be6ff4..ad1caa902ef05f54ff24fbd4e302079d380ff40b 100644 (file)
@@ -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];
 };