V4L/DVB (5942): Usb/vp7045.c: ARRAY_SIZE()
authorAndi Drebes <lists-receive@programmierforen.de>
Mon, 30 Jul 2007 14:49:51 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:03:34 +0000 (22:03 -0300)
commit667c7bc0aff18288186f1223784b57f77be7d81b
tree8e7ec1b1aff5c08fdb4942d9c607f080f6e22dc8
parentaf520a3478b59476ed61eddee73948807398e358
V4L/DVB (5942): Usb/vp7045.c: ARRAY_SIZE()

This patch replaces an array size calculation done using sizeof
with an invocation of the ARRAY_SIZE macro.

Tested by compilation on an i386 box using "allyesconfig".
Diffed against Linus' git-tree.

Signed-off-by: Andi Drebes <lists-receive@programmierforen.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/vp7045.c