summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-10-15 13:32:52 -0400
committerMark Brown <broonie@kernel.org>2016-10-24 13:35:50 -0400
commit0d895e14dff0af1838ca79a82f2c0cee7b8bf7ef (patch)
treecf5a86cc0cb0a75dbe3d9d1d9cbdba1d5ea75f31
parent7e845e76e656967366be04646d80d815e8704914 (diff)
ASoC: wm9712: Remove unused DAI ID defines
The DAI ID defines are back from the time when DAIs were referenced by a numerical ID. These days a string is used for matching 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 wm9712.h file no longer has any content and can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/wm9712.c1
-rw-r--r--sound/soc/codecs/wm9712.h11
-rw-r--r--sound/soc/pxa/e800_wm9712.c1
-rw-r--r--sound/soc/pxa/em-x270.c1
-rw-r--r--sound/soc/pxa/palm27x.c1
-rw-r--r--sound/soc/pxa/tosa.c1
6 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 20b2e8216336..5ed484eb47b2 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -22,7 +22,6 @@
22#include <sound/initval.h> 22#include <sound/initval.h>
23#include <sound/soc.h> 23#include <sound/soc.h>
24#include <sound/tlv.h> 24#include <sound/tlv.h>
25#include "wm9712.h"
26 25
27#define WM9712_VENDOR_ID 0x574d4c12 26#define WM9712_VENDOR_ID 0x574d4c12
28#define WM9712_VENDOR_ID_MASK 0xffffffff 27#define WM9712_VENDOR_ID_MASK 0xffffffff
diff --git a/sound/soc/codecs/wm9712.h b/sound/soc/codecs/wm9712.h
deleted file mode 100644
index fb69c3aa4ed0..000000000000
--- a/sound/soc/codecs/wm9712.h
+++ /dev/null
@@ -1,11 +0,0 @@
1/*
2 * wm9712.h -- WM9712 Soc Audio driver
3 */
4
5#ifndef _WM9712_H
6#define _WM9712_H
7
8#define WM9712_DAI_AC97_HIFI 0
9#define WM9712_DAI_AC97_AUX 1
10
11#endif
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index 41bf71466a7b..07b9c6e17df9 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -21,7 +21,6 @@
21#include <mach/audio.h> 21#include <mach/audio.h>
22#include <mach/eseries-gpio.h> 22#include <mach/eseries-gpio.h>
23 23
24#include "../codecs/wm9712.h"
25#include "pxa2xx-ac97.h" 24#include "pxa2xx-ac97.h"
26 25
27static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, 26static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
diff --git a/sound/soc/pxa/em-x270.c b/sound/soc/pxa/em-x270.c
index 64743a05aeae..966163d1c813 100644
--- a/sound/soc/pxa/em-x270.c
+++ b/sound/soc/pxa/em-x270.c
@@ -30,7 +30,6 @@
30#include <asm/mach-types.h> 30#include <asm/mach-types.h>
31#include <mach/audio.h> 31#include <mach/audio.h>
32 32
33#include "../codecs/wm9712.h"
34#include "pxa2xx-ac97.h" 33#include "pxa2xx-ac97.h"
35 34
36static struct snd_soc_dai_link em_x270_dai[] = { 35static struct snd_soc_dai_link em_x270_dai[] = {
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c
index bcc81e920a67..387492d46b6c 100644
--- a/sound/soc/pxa/palm27x.c
+++ b/sound/soc/pxa/palm27x.c
@@ -27,7 +27,6 @@
27#include <mach/audio.h> 27#include <mach/audio.h>
28#include <linux/platform_data/asoc-palm27x.h> 28#include <linux/platform_data/asoc-palm27x.h>
29 29
30#include "../codecs/wm9712.h"
31#include "pxa2xx-ac97.h" 30#include "pxa2xx-ac97.h"
32 31
33static struct snd_soc_jack hs_jack; 32static struct snd_soc_jack hs_jack;
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index c508f024ecfb..daed981f02dd 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -31,7 +31,6 @@
31#include <mach/tosa.h> 31#include <mach/tosa.h>
32#include <mach/audio.h> 32#include <mach/audio.h>
33 33
34#include "../codecs/wm9712.h"
35#include "pxa2xx-ac97.h" 34#include "pxa2xx-ac97.h"
36 35
37#define TOSA_HP 0 36#define TOSA_HP 0