diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-18 04:35:49 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-22 21:33:55 -0500 |
commit | fed08d94bf3f930ebe9ad2f3ad7744b8e2eab6bc (patch) | |
tree | 5718cb33a7467b8bba540c68b1f5f1027e952bc5 /sound/soc/codecs | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ASoC: wm8523: Use SOC_ENUM_SINGLE_DECL()
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8523.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8523.c b/sound/soc/codecs/wm8523.c index 74d106dc7667..5dfd571b1a03 100644 --- a/sound/soc/codecs/wm8523.c +++ b/sound/soc/codecs/wm8523.c | |||
@@ -75,8 +75,8 @@ static const char *wm8523_zd_count_text[] = { | |||
75 | "2048", | 75 | "2048", |
76 | }; | 76 | }; |
77 | 77 | ||
78 | static const struct soc_enum wm8523_zc_count = | 78 | static SOC_ENUM_SINGLE_DECL(wm8523_zc_count, WM8523_ZERO_DETECT, 0, |
79 | SOC_ENUM_SINGLE(WM8523_ZERO_DETECT, 0, 2, wm8523_zd_count_text); | 79 | wm8523_zd_count_text); |
80 | 80 | ||
81 | static const struct snd_kcontrol_new wm8523_controls[] = { | 81 | static const struct snd_kcontrol_new wm8523_controls[] = { |
82 | SOC_DOUBLE_R_TLV("Playback Volume", WM8523_DAC_GAINL, WM8523_DAC_GAINR, | 82 | SOC_DOUBLE_R_TLV("Playback Volume", WM8523_DAC_GAINL, WM8523_DAC_GAINR, |