diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-18 04:36:16 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-22 21:34:24 -0500 |
commit | 9e74b14ad5140837cfa0dc639dc13acaa2b05b0f (patch) | |
tree | bf1c75e8adee2c4e15d1e299cc67805041ccb790 /sound/soc/codecs/wm8731.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ASoC: wm8731: 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>
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 029720366ff8..d9655f981df1 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -83,8 +83,8 @@ static bool wm8731_writeable(struct device *dev, unsigned int reg) | |||
83 | 83 | ||
84 | static const char *wm8731_input_select[] = {"Line In", "Mic"}; | 84 | static const char *wm8731_input_select[] = {"Line In", "Mic"}; |
85 | 85 | ||
86 | static const struct soc_enum wm8731_insel_enum = | 86 | static SOC_ENUM_SINGLE_DECL(wm8731_insel_enum, |
87 | SOC_ENUM_SINGLE(WM8731_APANA, 2, 2, wm8731_input_select); | 87 | WM8731_APANA, 2, wm8731_input_select); |
88 | 88 | ||
89 | static int wm8731_deemph[] = { 0, 32000, 44100, 48000 }; | 89 | static int wm8731_deemph[] = { 0, 32000, 44100, 48000 }; |
90 | 90 | ||