Skip to content

Commit

Permalink
Merge remote-tracking branches 'regulator/fix/act8865', 'regulator/fi…
Browse files Browse the repository at this point in the history
…x/arizona' and 'regulator/fix/tps65218' into regulator-linus
  • Loading branch information
Mark Brown committed Aug 5, 2014
4 parents 19583ca + 732714d + 5b919f3 + 42ab0f3 commit 9950756
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/regulator/act8865-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static int act8865_pdata_from_dt(struct device *dev,
if (!pdata->regulators)
return -ENOMEM;

pdata->num_regulators = matched;
pdata->num_regulators = ARRAY_SIZE(act8865_matches);
regulator = pdata->regulators;

for (i = 0; i < ARRAY_SIZE(act8865_matches); i++) {
Expand Down
2 changes: 0 additions & 2 deletions drivers/regulator/arizona-ldo1.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ static struct regulator_ops arizona_ldo1_ops = {
.map_voltage = regulator_map_voltage_linear,
.get_voltage_sel = regulator_get_voltage_sel_regmap,
.set_voltage_sel = regulator_set_voltage_sel_regmap,
.get_bypass = regulator_get_bypass_regmap,
.set_bypass = regulator_set_bypass_regmap,
};

static const struct regulator_desc arizona_ldo1 = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/regulator/tps65218-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static const struct regulator_linear_range ldo1_dcdc3_ranges[] = {

static const struct regulator_linear_range dcdc4_ranges[] = {
REGULATOR_LINEAR_RANGE(1175000, 0x0, 0xf, 25000),
REGULATOR_LINEAR_RANGE(1550000, 0x10, 0x34, 50000),
REGULATOR_LINEAR_RANGE(1600000, 0x10, 0x34, 50000),
};

static struct tps_info tps65218_pmic_regs[] = {
Expand Down

0 comments on commit 9950756

Please sign in to comment.