From: Takashi Iwai Date: Tue, 18 Feb 2014 09:35:49 +0000 (+0100) Subject: ASoC: wm8523: Use SOC_ENUM_SINGLE_DECL() X-Git-Tag: firefly_0821_release~176^2~4090^2~1^2~5^2~2^3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fed08d94bf3f930ebe9ad2f3ad7744b8e2eab6bc;p=firefly-linux-kernel-4.4.55.git ASoC: wm8523: Use SOC_ENUM_SINGLE_DECL() Just replace with the helper macro. No functional change at all. Signed-off-by: Takashi Iwai Acked-by: Liam Girdwood Acked-by: Charles Keepax Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- 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[] = { "2048", }; -static const struct soc_enum wm8523_zc_count = - SOC_ENUM_SINGLE(WM8523_ZERO_DETECT, 0, 2, wm8523_zd_count_text); +static SOC_ENUM_SINGLE_DECL(wm8523_zc_count, WM8523_ZERO_DETECT, 0, + wm8523_zd_count_text); static const struct snd_kcontrol_new wm8523_controls[] = { SOC_DOUBLE_R_TLV("Playback Volume", WM8523_DAC_GAINL, WM8523_DAC_GAINR,