22 Jan
2010
22 Jan
'10
10:56 a.m.
On Thu, 2010-01-21 at 21:10 +0100, Guennadi Liakhovetski wrote:
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
Both macro patches :-
Acked-by: Liam Girdwood lrg@slimlogic.co.uk