ASoC: simone: convert to use snd_soc_register_card()
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 11 Sep 2011 09:28:50 +0000 (12:28 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Sep 2011 09:11:26 +0000 (10:11 +0100)
commit5a0a03c5ef79cc14336c789c183822902519d8da
treef7ed3ee28b07d3b63888952c0cf99ff3cf201c8b
parent9306816954e6e7c3986495f9141a04d5393f998a
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 <mika.westerberg@iki.fi>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ep93xx/simone.c