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 c00aadb..5eb74ea 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 d669847..0e2957f 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 cd52820..ba2e047 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 5f6b867..c3b9900 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 ec45567..138c642 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