From: Guido Martínez Date: Tue, 17 Jun 2014 14:17:07 +0000 (-0300) Subject: drm/tilcdc: panel: fix leak when unloading the module X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a49012224ca9016658a831a327ff6a7fe5bb4f9;p=pandora-kernel.git drm/tilcdc: panel: fix leak when unloading the module The driver did not unregister the allocated framebuffer, which caused memory leaks (and memory manager WARNs) when unloading. Also, the framebuffer device under /dev still existed after unloading. Add a call to drm_fbdev_cma_fini when unloading the module to prevent both issues. Signed-off-by: Guido Martínez Tested-by: Darren Etheridge Cc: #v3.9+ Signed-off-by: Dave Airlie --- Reading git-diff-tree failed