ASoC: wm5102: Use ARRAY_SIZE() for SOC_VALUE_ENUM_SINGLE()
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 10:49:02 +0000 (11:49 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 23 Feb 2014 03:02:51 +0000 (12:02 +0900)
commitdaf152a21d361967bd9d2d7a976c125de842d589
tree7467bf5306ec6f4d8e794a9ba884f6f1fcaa3f06
parent2b14cd3af9d98ce135e503e91e3973bdd5e4baeb
ASoC: wm5102: Use ARRAY_SIZE() for SOC_VALUE_ENUM_SINGLE()

... to make clear the meaning of the argument.

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