diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-18 04:09:52 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-19 21:22:43 -0500 |
commit | 6415e307b1d270e4e5f7ee7bd9aac4ac4f1daf65 (patch) | |
tree | 5dc2c524d9f01787fbad8ea85d52d8fd5169b0d7 /sound/soc/codecs/lm4857.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ASoC: lm4857: Use SOC_ENUM_SINGLE_EXT_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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/lm4857.c')
-rw-r--r-- | sound/soc/codecs/lm4857.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/lm4857.c b/sound/soc/codecs/lm4857.c index 0e5743ea79df..4f048db9f55f 100644 --- a/sound/soc/codecs/lm4857.c +++ b/sound/soc/codecs/lm4857.c | |||
@@ -101,8 +101,7 @@ static const char *lm4857_mode[] = { | |||
101 | "Headphone", | 101 | "Headphone", |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static const struct soc_enum lm4857_mode_enum = | 104 | static SOC_ENUM_SINGLE_EXT_DECL(lm4857_mode_enum, lm4857_mode); |
105 | SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(lm4857_mode), lm4857_mode); | ||
106 | 105 | ||
107 | static const struct snd_soc_dapm_widget lm4857_dapm_widgets[] = { | 106 | static const struct snd_soc_dapm_widget lm4857_dapm_widgets[] = { |
108 | SND_SOC_DAPM_INPUT("IN"), | 107 | SND_SOC_DAPM_INPUT("IN"), |