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

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