From: Jarkko Nikula Date: Wed, 8 Dec 2010 00:25:40 +0000 (-0800) Subject: omap: McBSP: Fix potential memory leak in omap_mcbsp_remove X-Git-Tag: v2.6.38-rc1~469^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3b7284cb35c9e3eead279cb35f017b9735bb43;p=pandora-kernel.git omap: McBSP: Fix potential memory leak in omap_mcbsp_remove Function omap_mcbsp_probe allocates struct omap_mcbsp *mcbsp but it is not freed in omap_mcbsp_remove. Fix this, remove unneeded structure cleanups and clk_disable calls since they are not needed here. This is not problem currently but becomes if the mcbsp driver is ever modularized. Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed