diff mbox

[4/7] ASoC: wm8753: Remove unused DAI ID defines

Message ID 1476552777-1849-4-git-send-email-lars@metafoo.de (mailing list archive)
State Accepted
Commit 68b24a20cbf0a9fb691031506ff7ea1e7b210a2c
Headers show

Commit Message

Lars-Peter Clausen Oct. 15, 2016, 5:32 p.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. These particular IDs were never used and presumably
never will be, so remove them.

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

Comments

Charles Keepax Oct. 17, 2016, 10:50 a.m. UTC | #1
On Sat, Oct 15, 2016 at 07:32:54PM +0200, Lars-Peter Clausen wrote:
> 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. These particular IDs were never used and presumably
> never will be, so remove them.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
diff mbox

Patch

diff --git a/sound/soc/codecs/wm8753.h b/sound/soc/codecs/wm8753.h
index 94edac1..8b39e36 100644
--- a/sound/soc/codecs/wm8753.h
+++ b/sound/soc/codecs/wm8753.h
@@ -112,7 +112,4 @@ 
 #define WM8753_VXCLK_DIV_8	(3 << 6)
 #define WM8753_VXCLK_DIV_16	(4 << 6)
 
-#define WM8753_DAI_HIFI		0
-#define WM8753_DAI_VOICE		1
-
 #endif