Skip to contentSkip to conversation

ASoC: Remove some unused defines from WM8903

PATCH In review Mark Brown 2 participants 2 messages Dec 20, 2010 – Dec 21, 2010

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Remove some unused defines from WM8903

These would have been used if we'd done manual clock divider setup, but we didn't.

---
 sound/soc/codecs/wm8903.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
sound/soc/codecs/wm8903.h +0 -4
index 7f9f6be..5f23d3c 100644
@@ -19,10 +19,6 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec,
 			     struct snd_soc_jack *jack,
 			     int det, int shrt);
 
-#define WM8903_MCLK_DIV_2 1
-#define WM8903_CLK_SYS    2
-#define WM8903_BCLK       3
-#define WM8903_LRCLK      4
 
 /*
  * Register values.
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Mark Brown

These would have been used if we'd done manual clock divider setup, but we didn't.

---
 sound/soc/codecs/wm8903.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
sound/soc/codecs/wm8903.h +0 -0
index 7f9f6be..5f23d3c 100644

sound/soc/codecs/wm8903.h extern int wm8903_mic_detect(struct snd_soc_codec *codec, · line 24

Quoted 10 lines
sound/soc/codecs/wm8903.h +0 -4
@@ -19,10 +19,6 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec,
 			     struct snd_soc_jack *jack,
 			     int det, int shrt);
 
-#define WM8903_MCLK_DIV_2 1
-#define WM8903_CLK_SYS    2
-#define WM8903_BCLK       3
-#define WM8903_LRCLK      4
 
 /*
  * Register values.
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk