ASoC: pxa2xx-ac97: Remove unused DAI ID defines
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 5 Jan 2017 12:07:27 +0000 (13:07 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 5 Jan 2017 12:34:38 +0000 (12:34 +0000)
The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used instead and the defines are
unused. The last user of these defines was removed in commit f0fba2ad1b6b
("ASoC: multi-component - ASoC Multi-Component Support"). So remove the
defines as well.

This also means the pxa2xx-ac97.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> (for mioa701_wm9713)
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/e740_wm9705.c
sound/soc/pxa/e750_wm9705.c
sound/soc/pxa/e800_wm9712.c
sound/soc/pxa/em-x270.c
sound/soc/pxa/mioa701_wm9713.c
sound/soc/pxa/palm27x.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-ac97.h [deleted file]
sound/soc/pxa/tosa.c
sound/soc/pxa/zylonite.c

index 086c37a856308748b734ad8c4ac5ab8b53ac8b04..8ab7032631b7c54760f88e0f830b60f7556fd52c 100644 (file)
@@ -22,9 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
-
 #define E740_AUDIO_OUT 1
 #define E740_AUDIO_IN  2
 
index 7823278012a63462c5f4ed3dd36dfdea653764fb..fdcd94adee7c8ef7ec36b10888e1740f8bcfa150 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
                                struct snd_kcontrol *kcontrol, int event)
 {
index 07b9c6e17df95591644770f8bfbc134ae055b388..2df714f70ec0098377d3a72cf123f362024b5bca 100644 (file)
@@ -21,8 +21,6 @@
 #include <mach/audio.h>
 #include <mach/eseries-gpio.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
                                struct snd_kcontrol *kcontrol, int event)
 {
index 966163d1c813271b5df393e52eb5fe0ebd9e86ac..6f2020f6c8d36a15582e8b2ac8b8c7004ceb745b 100644 (file)
@@ -30,8 +30,6 @@
 #include <asm/mach-types.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_dai_link em_x270_dai[] = {
        {
                .name = "AC97",
index 0fe0abec8fc4cf3db262919264133555e665dcdb..8760a668788509a6af520bbf60444b2582911417 100644 (file)
@@ -53,7 +53,6 @@
 #include <sound/initval.h>
 #include <sound/ac97_codec.h>
 
-#include "pxa2xx-ac97.h"
 #include "../codecs/wm9713.h"
 
 #define AC97_GPIO_PULL         0x58
index 387492d46b6c0c848e0497d4218db62a32485228..97167048572d400797e1e283079eb3cfdfad8371 100644 (file)
@@ -27,8 +27,6 @@
 #include <mach/audio.h>
 #include <linux/platform_data/asoc-palm27x.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_jack hs_jack;
 
 /* Headphones jack detection DAPM pins */
index 9615e6de1306b16362391c21a9597f67c909007e..2e2fb1838ec2531ba7a6c113b6c051349ff2f961 100644 (file)
@@ -27,8 +27,6 @@
 #include <mach/regs-ac97.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97)
 {
        pxa2xx_ac97_try_warm_reset(ac97);
diff --git a/sound/soc/pxa/pxa2xx-ac97.h b/sound/soc/pxa/pxa2xx-ac97.h
deleted file mode 100644 (file)
index a49c21b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * linux/sound/soc/pxa/pxa2xx-ac97.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _PXA2XX_AC97_H
-#define _PXA2XX_AC97_H
-
-/* pxa2xx DAI ID's */
-#define PXA2XX_DAI_AC97_HIFI   0
-#define PXA2XX_DAI_AC97_AUX            1
-#define PXA2XX_DAI_AC97_MIC            2
-
-#endif
index 2e312c62e3c75dcb2b60896b42b2ad2ca5fa1b4a..e022b2a777f6cfb01da1ba5a6ba95891482b77e3 100644 (file)
@@ -31,8 +31,6 @@
 #include <mach/tosa.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 #define TOSA_HP        0
 #define TOSA_MIC_INT   1
 #define TOSA_HEADSET   2
index 8f301c72ee5e2b9ffe8eeb975db0f75afd1d1a16..6fbcdf02c88dbc292ddeb6ea3c9d0accaed384ab 100644 (file)
@@ -22,7 +22,6 @@
 #include <sound/soc.h>
 
 #include "../codecs/wm9713.h"
-#include "pxa2xx-ac97.h"
 #include "pxa-ssp.h"
 
 /*