From: Mika Westerberg Date: Sun, 11 Sep 2011 09:28:50 +0000 (+0300) Subject: ASoC: simone: convert to use snd_soc_register_card() X-Git-Tag: v3.2-rc1~127^2~2^2~1^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0a03c5ef79cc14336c789c183822902519d8da;p=pandora-kernel.git ASoC: simone: convert to use snd_soc_register_card() Current method for machine driver to register with the ASoC core is to use snd_soc_register_card() instead of creating a "soc-audio" platform device. In addition we use platform_device_register_simple() to create a platform device for the codec. This function will handle putting and deleting the device automatically which simplifies the error handling in the machine driver. Signed-off-by: Mika Westerberg Reviewed-by: Ryan Mallon Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed