ASoC: wm8994: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:45:30 +0000 (09:45 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:33:33 +0000 (10:33 +0900)
commite61a35b798497a85725ce10c07049fa1b9ca014c
tree87972a6fd070c226266b3198206bff6a13e632a6
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: wm8994: Fix the wrong number of enum items

wm8994 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/wm8994.c