projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9692063
)
mfd: Handle missing WM8350 platform data
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 18 Dec 2008 22:12:08 +0000
(23:12 +0100)
committer
Samuel Ortiz
<samuel@sortiz.org>
Sun, 4 Jan 2009 11:17:42 +0000
(12:17 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/wm8350-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm8350-core.c
b/drivers/mfd/wm8350-core.c
index
fa505ac
..
03af3b1
100644
(file)
--- a/
drivers/mfd/wm8350-core.c
+++ b/
drivers/mfd/wm8350-core.c
@@
-1350,7
+1350,7
@@
int wm8350_device_init(struct wm8350 *wm8350, int irq,
return ret;
}
- if (pdata->init) {
+ if (pdata
&& pdata
->init) {
ret = pdata->init(wm8350);
if (ret != 0) {
dev_err(wm8350->dev, "Platform init() failed: %d\n",