diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-01-21 15:10:47 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:50:45 -0500 |
commit | 8484c63f4b363d79febe35f95328e38018b65026 (patch) | |
tree | 43e3950e81319f2e921a7ba1796ca35d64f7dd4a /include/sound/soc.h | |
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>
Diffstat (limited to 'include/sound/soc.h')
0 files changed, 0 insertions, 0 deletions