diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-11 06:21:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-12 09:53:09 -0400 |
commit | 1f0c01621aa1beb0f6bc205beeada2a4a3178d5a (patch) | |
tree | f8ff3ec46f9ab2568f1568d572b469db37b0e771 | |
parent | 571a4010847a8b03c88de6543c5c00878a7e97d3 (diff) |
regulator: rk808: Remove unused variables
Also remove non-informative comment.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/rk808-regulator.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index d91f2b658080..9557428f39a7 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c | |||
@@ -28,32 +28,6 @@ | |||
28 | #define RK808_BUCK4_VSEL_MASK 0xf | 28 | #define RK808_BUCK4_VSEL_MASK 0xf |
29 | #define RK808_LDO_VSEL_MASK 0x1f | 29 | #define RK808_LDO_VSEL_MASK 0x1f |
30 | 30 | ||
31 | static const int buck_set_vol_base_addr[] = { | ||
32 | RK808_BUCK1_ON_VSEL_REG, | ||
33 | RK808_BUCK2_ON_VSEL_REG, | ||
34 | RK808_BUCK3_CONFIG_REG, | ||
35 | RK808_BUCK4_ON_VSEL_REG, | ||
36 | }; | ||
37 | |||
38 | static const int buck_contr_base_addr[] = { | ||
39 | RK808_BUCK1_CONFIG_REG, | ||
40 | RK808_BUCK2_CONFIG_REG, | ||
41 | RK808_BUCK3_CONFIG_REG, | ||
42 | RK808_BUCK4_CONFIG_REG, | ||
43 | }; | ||
44 | |||
45 | static const int ldo_set_vol_base_addr[] = { | ||
46 | RK808_LDO1_ON_VSEL_REG, | ||
47 | RK808_LDO2_ON_VSEL_REG, | ||
48 | RK808_LDO3_ON_VSEL_REG, | ||
49 | RK808_LDO4_ON_VSEL_REG, | ||
50 | RK808_LDO5_ON_VSEL_REG, | ||
51 | RK808_LDO6_ON_VSEL_REG, | ||
52 | RK808_LDO7_ON_VSEL_REG, | ||
53 | RK808_LDO8_ON_VSEL_REG, | ||
54 | }; | ||
55 | |||
56 | /* rk808 voltage number */ | ||
57 | static const struct regulator_linear_range rk808_buck_voltage_ranges[] = { | 31 | static const struct regulator_linear_range rk808_buck_voltage_ranges[] = { |
58 | REGULATOR_LINEAR_RANGE(700000, 0, 63, 12500), | 32 | REGULATOR_LINEAR_RANGE(700000, 0, 63, 12500), |
59 | }; | 33 | }; |