]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: adau1373: Use SOC_ENUM_SINGLE_DECL()
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:58:45 +0000 (09:58 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 02:11:50 +0000 (11:11 +0900)
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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/adau1373.c

index eb836ed5271f448631ad1268ddd548b69db39c51..83c0acd5f67d81c5369c7c6c4f20bb495cc03b62 100644 (file)
@@ -576,8 +576,8 @@ static const char *adau1373_decimator_text[] = {
        "DMIC1",
 };
 
-static const struct soc_enum adau1373_decimator_enum =
-       SOC_ENUM_SINGLE(0, 0, 2, adau1373_decimator_text);
+static SOC_ENUM_SINGLE_DECL(adau1373_decimator_enum,
+                           0, 0, adau1373_decimator_text);
 
 static const struct snd_kcontrol_new adau1373_decimator_mux =
        SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum);