[alsa-devel] [PATCH] add simplified versions of widget macros

Liam Girdwood lrg at slimlogic.co.uk
Fri Jan 22 10:56:07 CET 2010

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 at gmx.de>

Both macro patches :-

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>

More information about the Alsa-devel mailing list