ASoC: wm8400: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:34:44 +0000 (09:34 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 02:07:53 +0000 (11:07 +0900)
commit898b48eb88bff3a7a49590a08bee546c2d26bd91
treec0ce79bc862562124852c8397ef8e855c3effbc1
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: wm8400: Fix the wrong number of enum items

wm8400 codec driver has a few places wrongly defining the number of
enum items.

Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

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>
sound/soc/codecs/wm8400.c