ASoC: wm8991: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:44:23 +0000 (09:44 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:31:53 +0000 (10:31 +0900)
commitd07338b0f2e1697c99fcd52bf1895227ce5e1a14
treedf22716251e0040248692d355c921291f51ac6e1
parente156291c7bab1771df34acd583c3c1b1ad71231c
ASoC: wm8991: Fix the wrong number of enum items

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