mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
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>
This commit is contained in:
parent
38dbfb59d1
commit
fed08d94bf
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user