projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c60823
)
regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
author
Axel Lin
<axel.lin@gmail.com>
Tue, 29 Mar 2011 09:54:58 +0000
(17:54 +0800)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:36 +0000
(10:34 +0100)
Otherwise, calling platform_get_drvdata in tps6105x_regulator_remove
returns NULL.
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/tps6105x-regulator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/tps6105x-regulator.c
b/drivers/regulator/tps6105x-regulator.c
index a4d7f4540c180b14c722bb6813dc2993b8165b37..1011873896dc9205b4844aed9531de8cd9051531 100644
(file)
--- a/
drivers/regulator/tps6105x-regulator.c
+++ b/
drivers/regulator/tps6105x-regulator.c
@@
-158,6
+158,7
@@
static int __devinit tps6105x_regulator_probe(struct platform_device *pdev)
"failed to register regulator\n");
return ret;
}
+ platform_set_drvdata(pdev, tps6105x);
return 0;
}