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:
fab7c5b
)
efifb: Fix call to wrong unregister function
author
Wanlong Gao
<wanlong.gao@gmail.com>
Sun, 12 Jun 2011 10:52:33 +0000
(10:52 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 14 Jun 2011 07:37:46 +0000
(16:37 +0900)
platform_device_unregister() needs to unregister the device, not the
driver.
Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Acked-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/efifb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/efifb.c
b/drivers/video/efifb.c
index 69c49dfce9cf93aa3c771dbf4af91f0669fea260..784139aed0793cab282cf52f3f3c3503a85a9a5a 100644
(file)
--- a/
drivers/video/efifb.c
+++ b/
drivers/video/efifb.c
@@
-541,7
+541,7
@@
static int __init efifb_init(void)
*/
ret = platform_driver_probe(&efifb_driver, efifb_probe);
if (ret) {
- platform_device_unregister(&efifb_d
river
);
+ platform_device_unregister(&efifb_d
evice
);
return ret;
}