Skip to content

Commit

Permalink
regulator: aat2870: Remove unused min_uV and max_uV from struct aat28…
Browse files Browse the repository at this point in the history
…70_regulator

Both min_uV and max_uV are not used in the code, remove them.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jul 12, 2012
1 parent 4506c6d commit 257ee3c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/regulator/aat2870-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ struct aat2870_regulator {
struct aat2870_data *aat2870;
struct regulator_desc desc;

int min_uV;
int max_uV;

u8 enable_addr;
u8 enable_shift;
u8 enable_mask;
Expand Down Expand Up @@ -127,8 +124,6 @@ static const unsigned int aat2870_ldo_voltages[] = {
.type = REGULATOR_VOLTAGE, \
.owner = THIS_MODULE, \
}, \
.min_uV = 1200000, \
.max_uV = 3300000, \
}

static struct aat2870_regulator aat2870_regulators[] = {
Expand Down

0 comments on commit 257ee3c

Please sign in to comment.