commit | 8484c63f4b363d79febe35f95328e38018b65026 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Thu Jan 21 21:10:47 2010 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Jan 25 14:50:45 2010 +0000 |
tree | 43e3950e81319f2e921a7ba1796ca35d64f7dd4a | |
parent | 821dd91ec7838e1313d783384ea9ce43510d4013 [diff] |
ASoC: add simplified versions of widget macros Many macros from include/sound/soc-dapm.h take an array and a number of elements in it as arguments, whereas most users use static arrays and use "x, ARRAY_SIZE(x)" as arguments. This patch adds simplified versions of those macros, calling ARRAY_SIZE() internally. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Liam Girdwood <lrg@slimlogic.oc.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>