ARM: s3c24xx: Drop unused struct s3c_audio_pdata entries
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 10 Nov 2016 15:17:56 +0000 (16:17 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 29 Dec 2016 11:42:57 +0000 (13:42 +0200)
The s3c24xx-iis driver is now converted to use the dma_slave_map API
and the samsung-ac97 driver got removed from the tree so remove
the unused platform data structure instances.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/plat-samsung/devs.c

index cf7b95fddbb383864e53a082122562f1741a800f..03fac123676db0c5eb9901076ead5b65c33bd889 100644 (file)
@@ -77,15 +77,6 @@ static struct resource s3c_ac97_resource[] = {
        [1] = DEFINE_RES_IRQ(IRQ_S3C244X_AC97),
 };
 
-static struct s3c_audio_pdata s3c_ac97_pdata = {
-#ifdef CONFIG_S3C24XX_DMAC
-       .dma_filter = s3c24xx_dma_filter,
-#endif
-       .dma_playback = (void *)DMACH_PCM_OUT,
-       .dma_capture = (void *)DMACH_PCM_IN,
-       .dma_capture_mic = (void *)DMACH_MIC_IN,
-};
-
 struct platform_device s3c_device_ac97 = {
        .name           = "samsung-ac97",
        .id             = -1,
@@ -94,7 +85,6 @@ struct platform_device s3c_device_ac97 = {
        .dev            = {
                .dma_mask               = &samsung_device_dma_mask,
                .coherent_dma_mask      = DMA_BIT_MASK(32),
-               .platform_data          = &s3c_ac97_pdata,
        }
 };
 #endif /* CONFIG_CPU_S3C2440 */
@@ -574,14 +564,6 @@ static struct resource s3c_iis_resource[] = {
        [0] = DEFINE_RES_MEM(S3C24XX_PA_IIS, S3C24XX_SZ_IIS),
 };
 
-static struct s3c_audio_pdata s3c_iis_platdata = {
-#ifdef CONFIG_S3C24XX_DMAC
-       .dma_filter = s3c24xx_dma_filter,
-#endif
-       .dma_playback = (void *)DMACH_I2S_OUT,
-       .dma_capture = (void *)DMACH_I2S_IN,
-};
-
 struct platform_device s3c_device_iis = {
        .name           = "s3c24xx-iis",
        .id             = -1,
@@ -590,7 +572,6 @@ struct platform_device s3c_device_iis = {
        .dev            = {
                .dma_mask               = &samsung_device_dma_mask,
                .coherent_dma_mask      = DMA_BIT_MASK(32),
-               .platform_data          = &s3c_iis_platdata,
        }
 };
 #endif /* CONFIG_PLAT_S3C24XX */