Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344971
b: refs/heads/master
c: 10ecb80
h: refs/heads/master
i:
  344969: 9b0a63d
  344967: 42396c2
v: v3
  • Loading branch information
Laxman Dewangan authored and Samuel Ortiz committed Nov 20, 2012
1 parent 28d78b4 commit abc2bb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 7aae79fd8857794406841ededbdef493fac3d889
refs/heads/master: 10ecb80e8cb450f5b10c9aff168842c9a3c949ef
16 changes: 8 additions & 8 deletions trunk/drivers/mfd/tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,6 @@ static __devinit int tps65910_i2c_probe(struct i2c_client *i2c,
return ret;
}

ret = mfd_add_devices(tps65910->dev, -1,
tps65910s, ARRAY_SIZE(tps65910s),
NULL, 0, NULL);
if (ret < 0) {
dev_err(&i2c->dev, "mfd_add_devices failed: %d\n", ret);
return ret;
}

init_data->irq = pmic_plat_data->irq;
init_data->irq_base = pmic_plat_data->irq_base;

Expand All @@ -299,6 +291,14 @@ static __devinit int tps65910_i2c_probe(struct i2c_client *i2c,
pm_power_off = tps65910_power_off;
}

ret = mfd_add_devices(tps65910->dev, -1,
tps65910s, ARRAY_SIZE(tps65910s),
NULL, 0, NULL);
if (ret < 0) {
dev_err(&i2c->dev, "mfd_add_devices failed: %d\n", ret);
return ret;
}

return ret;
}

Expand Down

0 comments on commit abc2bb5

Please sign in to comment.