]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fbdev: efifb: add dev->remove() callback
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 23 Jan 2014 14:14:55 +0000 (15:14 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Mar 2014 13:30:49 +0000 (15:30 +0200)
commit65b4021ed67622b675b431fc2f3633b2af8cea6d
tree41f4fa29dc884d0d39c185b715f93ec61873530a
parenta9b47c7f23908bf2a5536040c46624178ba5f5c0
fbdev: efifb: add dev->remove() callback

If x86-sysfb platform-devices are removed from a system, we should
properly unload efifb. Otherwise, we end up releasing the parent while our
efi framebuffer is still running. This currently works just fine, but will
cause problems on handover to real hw. So add the ->remove() callback and
unregister efifb.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/efifb.c