Commit 6415e307 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: lm4857: Use SOC_ENUM_SINGLE_EXT_DECL()

Just replace with the helper macro.  No functional change at all.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38dbfb59
...@@ -101,8 +101,7 @@ static const char *lm4857_mode[] = { ...@@ -101,8 +101,7 @@ static const char *lm4857_mode[] = {
"Headphone", "Headphone",
}; };
static const struct soc_enum lm4857_mode_enum = static SOC_ENUM_SINGLE_EXT_DECL(lm4857_mode_enum, lm4857_mode);
SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(lm4857_mode), lm4857_mode);
static const struct snd_soc_dapm_widget lm4857_dapm_widgets[] = { static const struct snd_soc_dapm_widget lm4857_dapm_widgets[] = {
SND_SOC_DAPM_INPUT("IN"), SND_SOC_DAPM_INPUT("IN"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment