ASoC: wm8900: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:39:46 +0000 (09:39 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:26:00 +0000 (10:26 +0900)
commit9d1663143652d579dd5555e60fd8c78362ffb8c6
tree1382e3a115030286aad525fe69d30947aaf151af
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: wm8900: Fix the wrong number of enum items

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

Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8900.c