Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252167
b: refs/heads/master
c: 77fa44d
h: refs/heads/master
i:
  252165: c3932f0
  252163: 62a7e05
  252159: 75a8dfb
v: v3
  • Loading branch information
Axel Lin authored and Liam Girdwood committed May 27, 2011
1 parent 491939a commit eb726f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 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: c01e36dde4632e0a7474fddf0716f1e54f01f13e
refs/heads/master: 77fa44d0e10711e899788c58fe53f8f7b18c7f67
3 changes: 1 addition & 2 deletions trunk/drivers/regulator/tps65023-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ static struct regulator_ops tps65023_ldo_ops = {
static int __devinit tps_65023_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
static int desc_id;
const struct tps_info *info = (void *)id->driver_data;
struct regulator_init_data *init_data;
struct regulator_dev *rdev;
Expand Down Expand Up @@ -499,7 +498,7 @@ static int __devinit tps_65023_probe(struct i2c_client *client,
tps->info[i] = info;

tps->desc[i].name = info->name;
tps->desc[i].id = desc_id++;
tps->desc[i].id = i;
tps->desc[i].n_voltages = num_voltages[i];
tps->desc[i].ops = (i > TPS65023_DCDC_3 ?
&tps65023_ldo_ops : &tps65023_dcdc_ops);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/regulator/tps6507x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ static __devinit
int tps6507x_pmic_probe(struct platform_device *pdev)
{
struct tps6507x_dev *tps6507x_dev = dev_get_drvdata(pdev->dev.parent);
static int desc_id;
struct tps_info *info = &tps6507x_pmic_regs[0];
struct regulator_init_data *init_data;
struct regulator_dev *rdev;
Expand Down Expand Up @@ -598,7 +597,7 @@ int tps6507x_pmic_probe(struct platform_device *pdev)
}

tps->desc[i].name = info->name;
tps->desc[i].id = desc_id++;
tps->desc[i].id = i;
tps->desc[i].n_voltages = num_voltages[i];
tps->desc[i].ops = (i > TPS6507X_DCDC_3 ?
&tps6507x_pmic_ldo_ops : &tps6507x_pmic_dcdc_ops);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/regulator/tps65910-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@ static __devinit int tps65910_probe(struct platform_device *pdev)
struct regulator_dev *rdev;
struct tps65910_reg *pmic;
struct tps65910_board *pmic_plat_data;
static int desc_id;
int i, err;

pmic_plat_data = dev_get_platdata(tps65910->dev);
Expand All @@ -630,7 +629,7 @@ static __devinit int tps65910_probe(struct platform_device *pdev)
pmic->info[i] = info;

pmic->desc[i].name = info->name;
pmic->desc[i].id = desc_id++;
pmic->desc[i].id = i;
pmic->desc[i].n_voltages = info->table_len;

if ((i == TPS65910_REG_VDD1) || (i == TPS65910_REG_VDD2))
Expand Down

0 comments on commit eb726f0

Please sign in to comment.