]> git.baikalelectronics.ru Git - kernel.git/commit
efifb: Fix call to wrong unregister function
authorWanlong Gao <wanlong.gao@gmail.com>
Sun, 12 Jun 2011 10:52:33 +0000 (10:52 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Jun 2011 07:37:46 +0000 (16:37 +0900)
commite408e1dd7fee76905b7794784b3fa1f5ebcdba30
treee057b202143affb1eff8d8ba34a9545506f13b60
parent5962fcd08f5ce977434458ca0332259a3522fcdd
efifb: Fix call to wrong unregister function

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