From: David Herrmann Date: Thu, 23 Jan 2014 14:14:56 +0000 (+0100) Subject: fbdev: vesafb: add dev->remove() callback X-Git-Tag: v3.15-rc1~63^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60231da1275fbd46a0977219a95d42c53a5c91ff;p=pandora-kernel.git fbdev: vesafb: add dev->remove() callback If x86-sysfb platform-devices are removed from a system, we should properly unload vesafb. Otherwise, we end up releasing the parent while our vesa 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 vesafb. Signed-off-by: David Herrmann Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed