ASoC: Samsung: Do not register samsung audio dma device as pdev
authorPadmavathi Venna <padma.v@samsung.com>
Fri, 7 Dec 2012 08:29:21 +0000 (13:59 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Dec 2012 10:36:07 +0000 (19:36 +0900)
Previously, the ASoC 'platform' (PCM/DMA) object was instantiated via a
platform_device. This didn't represent the hardware well, since there
was no separate hardware associated with this platform_device; it was a
virtual device with sole purpose to call snd_soc_register_platform().

This change removes the platform_device completely. Each Samsung DAI now
registers the ASoC 'platform' itself. Machine drivers are adjusted for
the new 'platform' name.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found