V4L/DVB (5476): Fix gpiomux array size
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 29 Mar 2007 01:37:20 +0000 (22:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:09 +0000 (15:45 -0300)
there were several "magic" for loops, addressing gpiomux array size (4).
Adrian Bunk showed that one of the loops were wrong, going from 0 to 4.

This patch provides the right fix for this trouble, by using ARRAY_SIZE
on all places where we have a for loop using gpiomux.

Thanks to: Adrian Bunk <bunk@stusta.de> for pointing me about this trouble.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found