Skip to content

Commit

Permalink
regulator: rk808: Remove unused variables
Browse files Browse the repository at this point in the history
Also remove non-informative comment.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Axel Lin authored and Mark Brown committed Sep 12, 2014
1 parent 571a401 commit 1f0c016
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions drivers/regulator/rk808-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,6 @@
#define RK808_BUCK4_VSEL_MASK 0xf
#define RK808_LDO_VSEL_MASK 0x1f

static const int buck_set_vol_base_addr[] = {
RK808_BUCK1_ON_VSEL_REG,
RK808_BUCK2_ON_VSEL_REG,
RK808_BUCK3_CONFIG_REG,
RK808_BUCK4_ON_VSEL_REG,
};

static const int buck_contr_base_addr[] = {
RK808_BUCK1_CONFIG_REG,
RK808_BUCK2_CONFIG_REG,
RK808_BUCK3_CONFIG_REG,
RK808_BUCK4_CONFIG_REG,
};

static const int ldo_set_vol_base_addr[] = {
RK808_LDO1_ON_VSEL_REG,
RK808_LDO2_ON_VSEL_REG,
RK808_LDO3_ON_VSEL_REG,
RK808_LDO4_ON_VSEL_REG,
RK808_LDO5_ON_VSEL_REG,
RK808_LDO6_ON_VSEL_REG,
RK808_LDO7_ON_VSEL_REG,
RK808_LDO8_ON_VSEL_REG,
};

/* rk808 voltage number */
static const struct regulator_linear_range rk808_buck_voltage_ranges[] = {
REGULATOR_LINEAR_RANGE(700000, 0, 63, 12500),
};
Expand Down

0 comments on commit 1f0c016

Please sign in to comment.