Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272403
b: refs/heads/master
c: 0fcdb10
h: refs/heads/master
i:
  272401: 03705fb
  272399: 4cb2174
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed Aug 8, 2011
1 parent de3f1ed commit 3145b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd32e11cdbc73e570f9fe7425fa820c97070a2c4
refs/heads/master: 0fcdb109a50afb8b26709175937ba3de9486770b
8 changes: 1 addition & 7 deletions trunk/drivers/regulator/tps6507x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ static const u16 LDO2_VSEL_table[] = {
3000, 3100, 3200, 3300,
};

static unsigned int num_voltages[] = {ARRAY_SIZE(VDCDCx_VSEL_table),
ARRAY_SIZE(VDCDCx_VSEL_table),
ARRAY_SIZE(VDCDCx_VSEL_table),
ARRAY_SIZE(LDO1_VSEL_table),
ARRAY_SIZE(LDO2_VSEL_table)};

struct tps_info {
const char *name;
unsigned min_uV;
Expand Down Expand Up @@ -598,7 +592,7 @@ int tps6507x_pmic_probe(struct platform_device *pdev)

tps->desc[i].name = info->name;
tps->desc[i].id = i;
tps->desc[i].n_voltages = num_voltages[i];
tps->desc[i].n_voltages = info->table_len;
tps->desc[i].ops = (i > TPS6507X_DCDC_3 ?
&tps6507x_pmic_ldo_ops : &tps6507x_pmic_dcdc_ops);
tps->desc[i].type = REGULATOR_VOLTAGE;
Expand Down

0 comments on commit 3145b69

Please sign in to comment.