Skip to content

Commit

Permalink
regulator: max77802: Remove unused fields from struct max77802_regula…
Browse files Browse the repository at this point in the history
…tor_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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Aug 20, 2014
1 parent 4ece704 commit 29b9c31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/regulator/max77802.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};

Expand Down

0 comments on commit 29b9c31

Please sign in to comment.