From: Omar Ramirez Luna Date: Tue, 31 Jan 2012 01:20:18 +0000 (-0600) Subject: staging: tidspbridge: fix incorrect free to drv_datap X-Git-Tag: v3.3-rc4~40^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c5435064b5e6182167b40a7f259969dbcaf1b8;p=pandora-kernel.git staging: tidspbridge: fix incorrect free to drv_datap This structure is still used after it has been freed, since it is being allocated in probe, calls to free it have been moved to module's remove routine. This should fix the follwoing messages when attempting to remove the module: drv_get_first_dev_extension: Failed to retrieve the object handle drv_get_first_dev_extension: Failed to retrieve the object handle drv_destroy: Failed to store DRV object mgr_destroy: Failed to store MGR object Signed-off-by: Omar Ramirez Luna Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed