Skip to content

Commit 29b9c31

Browse files
AxelLinbroonie
authored andcommitted
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>
1 parent 4ece704 commit 29b9c31

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/regulator/max77802.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ static unsigned int ramp_table_77802_4bit[] = {
6565
};
6666

6767
struct max77802_regulator_prv {
68-
int num_regulators;
69-
struct regulator_dev *rdev[MAX77802_REG_MAX];
7068
unsigned int opmode[MAX77802_REG_MAX];
7169
};
7270

0 commit comments

Comments
 (0)