alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines
@ 2016-10-15 17:32 Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel,
	Lars-Peter Clausen

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 wm9705.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm9705.c   |  2 --
 sound/soc/codecs/wm9705.h   | 11 -----------
 sound/soc/pxa/e740_wm9705.c |  1 -
 sound/soc/pxa/e750_wm9705.c |  1 -
 4 files changed, 15 deletions(-)
 delete mode 100644 sound/soc/codecs/wm9705.h

diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c
index dcdd055..266b6ec 100644
--- a/sound/soc/codecs/wm9705.c
+++ b/sound/soc/codecs/wm9705.c
@@ -20,8 +20,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 
-#include "wm9705.h"
-
 #define WM9705_VENDOR_ID 0x574d4c05
 #define WM9705_VENDOR_ID_MASK 0xffffffff
 
diff --git a/sound/soc/codecs/wm9705.h b/sound/soc/codecs/wm9705.h
deleted file mode 100644
index 23ea9ce..0000000
--- a/sound/soc/codecs/wm9705.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * wm9705.h  --  WM9705 Soc Audio driver
- */
-
-#ifndef _WM9705_H
-#define _WM9705_H
-
-#define WM9705_DAI_AC97_HIFI	0
-#define WM9705_DAI_AC97_AUX	1
-
-#endif
diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c
index 1de8765..086c37a 100644
--- a/sound/soc/pxa/e740_wm9705.c
+++ b/sound/soc/pxa/e740_wm9705.c
@@ -22,7 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "../codecs/wm9705.h"
 #include "pxa2xx-ac97.h"
 
 
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index b7eb7cd..7823278 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -22,7 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "../codecs/wm9705.h"
 #include "pxa2xx-ac97.h"
 
 static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-01-06 18:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
2016-10-17 10:49   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 3/7] ASoC: wm9713: " Lars-Peter Clausen
2016-10-17 10:49   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 4/7] ASoC: wm8753: " Lars-Peter Clausen
2016-10-17 10:50   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
2016-10-16 18:57   ` Robert Jarzmik
     [not found]   ` <20161024173947.GM17252@sirena.org.uk>
2016-10-24 18:17     ` Lars-Peter Clausen
     [not found]       ` <20161024182120.GQ17252@sirena.org.uk>
2016-10-24 18:27         ` Lars-Peter Clausen
2017-01-06 18:16   ` Applied "ASoC: pxa2xx-ac97: Remove unused DAI ID defines" to the asoc tree Mark Brown
2016-10-15 17:32 ` [PATCH 6/7] ASoC: pxa2xx-i2s: Remove unused DAI ID defines Lars-Peter Clausen
2016-10-15 17:32 ` [PATCH 7/7] ASoC: pxa-ssp: " Lars-Peter Clausen
2016-10-17 10:49 ` [PATCH 1/7] ASoC: wm9705: " Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).