From: Jarkko Nikula Date: Mon, 6 Dec 2010 14:27:07 +0000 (+0200) Subject: ASoC: Merge common code in DAI link and auxiliary codec probing/removal X-Git-Tag: v2.6.38-rc1~236^2^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589c3563f6476950f26b5bcc9beb1b39a7bcc644;p=pandora-kernel.git ASoC: Merge common code in DAI link and auxiliary codec probing/removal Commit 2eea392 "ASoC: Add support for optional auxiliary dailess codecs" added much of code that can be shared with DAI link codec probing/removal. Merge now this common code into new soc_probe_codec, soc_remove_codec and soc_post_component_init functions. Error prints in these functions are converted to use dev_err and to print the error code. Signed-off-by: Jarkko Nikula Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed