ASoC: Tegra: Harmony: Don't use soc-audio platform device
authorStephen Warren <swarren@nvidia.com>
Fri, 28 Jan 2011 21:26:36 +0000 (14:26 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Jan 2011 13:15:48 +0000 (13:15 +0000)
commit72de2b1a9a5b869c1eaea098dd2a75e6bbbf0488
treed63788b2d865c79285ea7dea3764d026d1dc97e9
parent111c6419ffeef0ef225dfdd2c8b7b03cc6bb228e
ASoC: Tegra: Harmony: Don't use soc-audio platform device

Previously, snd-soc-tegra-harmony internally instantiated a platform device
object whenever the module was loaded. Instead, switch to a more typical model
where arch/arm/mach-tegra defines a platform device, and snd-soc-tegra-harmony
acts as a driver for such a platform device.

Define a new struct tegra_harmony to store driver data in the future.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/harmony.c