public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* re:[PATCH] efifb: Fix call to wrong unregister function
@ 2011-06-12 10:52 wanlong.gao
  2011-06-12 17:48 ` [PATCH] " Maarten Lankhorst
  2011-06-13  2:55 ` Andy Lutomirski
  0 siblings, 2 replies; 6+ messages in thread
From: wanlong.gao @ 2011-06-12 10:52 UTC (permalink / raw)
  To: linux-kernel, linux-fbdev
  Cc: Maarten Lankhorst, Maarten Lankhorst, Peter Jones

<snip>

Hi Maarten:
It registered efifb_device but try to unregistered efifb_driver,
so I think you should fix it like this?

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 drivers/video/efifb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c
index 69c49df..784139a 100644
--- 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_driver);
+		platform_device_unregister(&efifb_device);
 		return ret;
 	}
 
-- 
1.7.4.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-14  7:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-12 10:52 re:[PATCH] efifb: Fix call to wrong unregister function wanlong.gao
2011-06-12 17:48 ` [PATCH] " Maarten Lankhorst
2011-06-12 23:36   ` Wanlong Gao
2011-06-13  2:55 ` Andy Lutomirski
2011-06-13  7:51   ` Maarten Lankhorst
2011-06-14  7:33   ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox