Ver Fonte

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>
Axel Lin há 11 anos atrás
pai
commit
29b9c31802
1 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 2
      drivers/regulator/max77802.c

+ 0 - 2
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];
 };