Commit 1c38450b authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ASoC: adau1373: Use SOC_ENUM_SINGLE_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
...@@ -576,8 +576,8 @@ static const char *adau1373_decimator_text[] = { ...@@ -576,8 +576,8 @@ static const char *adau1373_decimator_text[] = {
"DMIC1", "DMIC1",
}; };
static const struct soc_enum adau1373_decimator_enum = static SOC_ENUM_SINGLE_DECL(adau1373_decimator_enum,
SOC_ENUM_SINGLE(0, 0, 2, adau1373_decimator_text); 0, 0, adau1373_decimator_text);
static const struct snd_kcontrol_new adau1373_decimator_mux = static const struct snd_kcontrol_new adau1373_decimator_mux =
SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum); SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum);
......
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