OSDN Git Service

ASoC: pxa: remove bindings from pxa2xx-pcm
authorDaniel Mack <daniel@zonque.org>
Wed, 27 Jun 2018 19:33:58 +0000 (21:33 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 Jun 2018 11:05:25 +0000 (12:05 +0100)
This platform is no longer needed on DT boards, so let's remove them to
avoid confusion. DT bindings should use the CPU DAIs (I2S/SSP/AC97)
directly.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt [deleted file]
sound/soc/pxa/pxa2xx-pcm.c

diff --git a/Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt b/Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt
deleted file mode 100644 (file)
index 551fbb8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-DT bindings for ARM PXA2xx PCM platform driver
-
-This is just a dummy driver that registers the PXA ASoC platform driver.
-It does not have any resources assigned.
-
-Required properties:
-
-       - compatible            'mrvl,pxa-pcm-audio'
-
-Example:
-
-       pxa_pcm_audio: snd_soc_pxa_audio {
-               compatible = "mrvl,pxa-pcm-audio";
-       };
-
index a1df4ec..72eaaef 100644 (file)
@@ -32,18 +32,9 @@ static int pxa2xx_soc_platform_probe(struct platform_device *pdev)
                                               NULL, 0);
 }
 
-#ifdef CONFIG_OF
-static const struct of_device_id snd_soc_pxa_audio_match[] = {
-       { .compatible   = "mrvl,pxa-pcm-audio" },
-       { }
-};
-MODULE_DEVICE_TABLE(of, snd_soc_pxa_audio_match);
-#endif
-
 static struct platform_driver pxa_pcm_driver = {
        .driver = {
                .name = "pxa-pcm-audio",
-               .of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
        },
 
        .probe = pxa2xx_soc_platform_probe,