projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f5f9f
)
mfd: Fix incorrect error check for wm8350-core
author
Dan Carpenter
<error27@gmail.com>
Sat, 21 Nov 2009 08:13:48 +0000
(10:13 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:47 +0000
(19:21 +0100)
It was *pdev which was allocated not pdev.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8350-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/wm8350-core.c
b/drivers/mfd/wm8350-core.c
index 242795feb90d06d96efbb0a4a87d91c28b6278f4..8485a70180605d0eea68cb1b1d98872541846c5c 100644
(file)
--- a/
drivers/mfd/wm8350-core.c
+++ b/
drivers/mfd/wm8350-core.c
@@
-537,7
+537,7
@@
static void wm8350_client_dev_register(struct wm8350 *wm8350,
int ret;
*pdev = platform_device_alloc(name, -1);
- if (pdev == NULL) {
+ if (
*
pdev == NULL) {
dev_err(wm8350->dev, "Failed to allocate %s\n", name);
return;
}