From: Stephen Warren Date: Tue, 20 Mar 2012 20:55:49 +0000 (-0600) Subject: ASoC: tegra: register 'platform' from DAIs, get rid of pdev X-Git-Tag: v3.5-rc1~118^2~3^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518de86ba106185212ec30fea501be024a12f5db;p=pandora-kernel.git ASoC: tegra: register 'platform' from DAIs, get rid of pdev 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 mechanism required all board files to register this device, and all ASoC machine drivers to create and register this device when booting using device tree. This change removes the platform_device completely. Each Tegra DAI now registers the ASoC 'platform' itself. Machine drivers are adjusted for the new 'platform' name. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed