From: Vinod Koul Date: Thu, 13 Jan 2011 17:18:02 +0000 (+0530) Subject: ASoC: soc core move card cleanup from soc_remove() X-Git-Tag: v2.6.39-rc1~200^2^2~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e264855cc42106cc41426e68651b5d67df444d;p=pandora-kernel.git ASoC: soc core move card cleanup from soc_remove() In soc_remove() the card resources are cleaned up. This can also be done in card_unregister() This patch move this cleanup into a new function and calls it from card_unregister. This paves way for further work to allow card registartion from machine. Signed-off-by: Vinod Koul Signed-off-by: Harsha Priya Signed-off-by: Mark Brown --- Reading git-diff-tree failed