ASoC: wm9712: Remove unused DAI ID defines
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 15 Oct 2016 17:32:52 +0000 (19:32 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 17:35:50 +0000 (18:35 +0100)
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>
sound/soc/codecs/wm9712.c
sound/soc/codecs/wm9712.h [deleted file]
sound/soc/pxa/e800_wm9712.c
sound/soc/pxa/em-x270.c
sound/soc/pxa/palm27x.c
sound/soc/pxa/tosa.c

index 20b2e8216336a191bf57a8a7c410bbd54cf8b2eb..5ed484eb47b230567d247182d67622efba438c45 100644 (file)
@@ -22,7 +22,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 #include <sound/tlv.h>
-#include "wm9712.h"
 
 #define WM9712_VENDOR_ID 0x574d4c12
 #define WM9712_VENDOR_ID_MASK 0xffffffff
diff --git a/sound/soc/codecs/wm9712.h b/sound/soc/codecs/wm9712.h
deleted file mode 100644 (file)
index fb69c3a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * wm9712.h  --  WM9712 Soc Audio driver
- */
-
-#ifndef _WM9712_H
-#define _WM9712_H
-
-#define WM9712_DAI_AC97_HIFI   0
-#define WM9712_DAI_AC97_AUX            1
-
-#endif
index 41bf71466a7bb619c06de89e81d4e1b6b731c8fb..07b9c6e17df95591644770f8bfbc134ae055b388 100644 (file)
@@ -21,7 +21,6 @@
 #include <mach/audio.h>
 #include <mach/eseries-gpio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
index 64743a05aeae96172a3fe18e2163c7e1f453635b..966163d1c813271b5df393e52eb5fe0ebd9e86ac 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/mach-types.h>
 #include <mach/audio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static struct snd_soc_dai_link em_x270_dai[] = {
index bcc81e920a67cbfb4132a0bc571041af49b89ff6..387492d46b6c0c848e0497d4218db62a32485228 100644 (file)
@@ -27,7 +27,6 @@
 #include <mach/audio.h>
 #include <linux/platform_data/asoc-palm27x.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static struct snd_soc_jack hs_jack;
index c508f024ecfbc206887aeb9f91943311a279aed7..daed981f02ddf1c8238f026dde34faee3ee74050 100644 (file)
@@ -31,7 +31,6 @@
 #include <mach/tosa.h>
 #include <mach/audio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 #define TOSA_HP        0