projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d463e
)
regulator: isl6271a-regulator - fix regulator_desc parameter for regulator_register()
author
Axel Lin
<axel.lin@gmail.com>
Wed, 1 Sep 2010 05:09:41 +0000
(13:09 +0800)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Wed, 1 Sep 2010 11:59:35 +0000
(12:59 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/isl6271a-regulator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/isl6271a-regulator.c
b/drivers/regulator/isl6271a-regulator.c
index e49d2bd393f27cdd105f0ba9a16e7a9c96b99c62..d61ecb885a8c94e857e78dcb23452ee9540385f0 100644
(file)
--- a/
drivers/regulator/isl6271a-regulator.c
+++ b/
drivers/regulator/isl6271a-regulator.c
@@
-165,7
+165,7
@@
static int __devinit isl6271a_probe(struct i2c_client *i2c,
mutex_init(&pmic->mtx);
for (i = 0; i < 3; i++) {
- pmic->rdev[i] = regulator_register(&isl_rd[
0
], &i2c->dev,
+ pmic->rdev[i] = regulator_register(&isl_rd[
i
], &i2c->dev,
init_data, pmic);
if (IS_ERR(pmic->rdev[i])) {
dev_err(&i2c->dev, "failed to register %s\n", id->name);