summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/aat2870-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-07-06 13:15:27 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-12 19:22:13 +0200
commit257ee3c6dde02c2c93334f802a8fc34825c75369 (patch)
tree21b8b7a3990abb4e3950b995c03bc8f4a55bdf5e /drivers/regulator/aat2870-regulator.c
parentregulator: aat2870: Convert to regulator_list_voltage_table (diff)
downloadlinux-257ee3c6dde02c2c93334f802a8fc34825c75369.tar.xz
linux-257ee3c6dde02c2c93334f802a8fc34825c75369.zip
regulator: aat2870: Remove unused min_uV and max_uV from struct aat2870_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>
Diffstat (limited to 'drivers/regulator/aat2870-regulator.c')
-rw-r--r--drivers/regulator/aat2870-regulator.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aat2870-regulator.c
index 6644e83076b4..6f45bfd22e83 100644
--- a/drivers/regulator/aat2870-regulator.c
+++ b/drivers/regulator/aat2870-regulator.c
@@ -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;
@@ -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[] = {