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)
commite6b8480cdf27953c3d13e6e34dd075f8287b02f0
treee057b202143affb1eff8d8ba34a9545506f13b60
parentfab7c5b778b1e0ee89e75679b2d6a1405318bb11
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