ASoC: twl6040: Use SOC_ENUM_SINGLE_DECL()
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 09:30:20 +0000 (10:30 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 23 Feb 2014 02:30:28 +0000 (11:30 +0900)
commita1d0d786af587c50ea948439e610c90525af36d7
tree12a9b839c79a496d7c895c1961a7b8a0ce9de19d
parent0d76fc6a47b183d519c47e40971e74cfd96cca85
ASoC: twl6040: Use SOC_ENUM_SINGLE_DECL()

Just replace with the helper macro.
Also, use ARRAY_SIZE() in some ASOC_ENUM_SINGLE() lines.

No functional change at all.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl6040.c