diff mbox

[1/2] ASoC: uda1380: Remove unused DAI ID defines

Message ID 1479893411-32011-1-git-send-email-lars@metafoo.de (mailing list archive)
State Accepted
Commit 4185d4be22a3fbf8e065437883ced195e692642b
Headers show

Commit Message

Lars-Peter Clausen Nov. 23, 2016, 9:30 a.m. UTC
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.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/uda1380.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/sound/soc/codecs/uda1380.h b/sound/soc/codecs/uda1380.h
index 942e392..69a326a 100644
--- a/sound/soc/codecs/uda1380.h
+++ b/sound/soc/codecs/uda1380.h
@@ -72,8 +72,4 @@ 
 #define R22_SKIP_DCFIL	0x0002
 #define R23_AGC_EN	0x0001
 
-#define UDA1380_DAI_DUPLEX	0 /* playback and capture on single DAI */
-#define UDA1380_DAI_PLAYBACK	1 /* playback DAI */
-#define UDA1380_DAI_CAPTURE	2 /* capture DAI */
-
 #endif /* _UDA1380_H */