浏览代码

ASoC: wm9705: 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 wm9705.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>
Lars-Peter Clausen 8 年之前
父节点
当前提交
d41a5b4a08
共有 4 个文件被更改,包括 0 次插入15 次删除
  1. 0 2
      sound/soc/codecs/wm9705.c
  2. 0 11
      sound/soc/codecs/wm9705.h
  3. 0 1
      sound/soc/pxa/e740_wm9705.c
  4. 0 1
      sound/soc/pxa/e750_wm9705.c

+ 0 - 2
sound/soc/codecs/wm9705.c

@@ -21,8 +21,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 
-#include "wm9705.h"
-
 #define WM9705_VENDOR_ID 0x574d4c05
 #define WM9705_VENDOR_ID_MASK 0xffffffff
 

+ 0 - 11
sound/soc/codecs/wm9705.h

@@ -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

+ 0 - 1
sound/soc/pxa/e740_wm9705.c

@@ -22,7 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "../codecs/wm9705.h"
 #include "pxa2xx-ac97.h"
 
 

+ 0 - 1
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,