ARM: tegra: remove tegra_pcm_device
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 20 Mar 2012 20:55:50 +0000 (14:55 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:29 +0000 (11:28 +0100)
tegra_pcm_device is no longer needed now that the Tegra ASoC code has
cleaned up its 'platform' registration. Remove it.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-tegra/board-harmony.c
arch/arm/mach-tegra/board-seaboard.c
arch/arm/mach-tegra/board-trimslice.c
arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h

index c00aadb01e097f70e63909e0fd05d43f35f12f44..5eb74ea981410ca1bf3e846c8de3d0142cc1e2d3 100644 (file)
@@ -122,7 +122,6 @@ static struct platform_device *harmony_devices[] __initdata = {
        &tegra_ehci3_device,
        &tegra_i2s_device1,
        &tegra_das_device,
-       &tegra_pcm_device,
        &harmony_audio_device,
 };
 
index d669847f0485bdfffaf42e44290154777405f81b..0e2957f902018fee02ee36505c32b37e6a97cebe 100644 (file)
@@ -153,7 +153,6 @@ static struct platform_device *seaboard_devices[] __initdata = {
        &seaboard_gpio_keys_device,
        &tegra_i2s_device1,
        &tegra_das_device,
-       &tegra_pcm_device,
        &seaboard_audio_device,
 };
 
index cd52820a3e37a08090080e81f67df568018c9c06..ba2e04756c5e9db3434d8b6a7eac8ab945f22bdc 100644 (file)
@@ -86,7 +86,6 @@ static struct platform_device *trimslice_devices[] __initdata = {
        &tegra_sdhci_device4,
        &tegra_i2s_device1,
        &tegra_das_device,
-       &tegra_pcm_device,
        &trimslice_audio_device,
 };
 
index 5f6b867e20b49c77c2635017e44b6dc0d8eeafe1..c3b990097f284a7b32723d9587261c7d19ef2bec 100644 (file)
@@ -698,8 +698,3 @@ struct platform_device tegra_das_device = {
        .num_resources  = ARRAY_SIZE(tegra_das_resources),
        .resource       = tegra_das_resources,
 };
-
-struct platform_device tegra_pcm_device = {
-       .name = "tegra-pcm-audio",
-       .id = -1,
-};
index ec455679b219a987dcade1063f7770559746e9f4..138c642e59f4cec93143845d8e072df332b083e3 100644 (file)
@@ -52,6 +52,5 @@ extern struct platform_device tegra_pmu_device;
 extern struct platform_device tegra_i2s_device1;
 extern struct platform_device tegra_i2s_device2;
 extern struct platform_device tegra_das_device;
-extern struct platform_device tegra_pcm_device;
 
 #endif