V4L/DVB (5831): stradis: use ARRAY_SIZE
authorTrent Piepho <xyzzy@speakeasy.org>
Thu, 5 Jul 2007 22:04:27 +0000 (19:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:24:42 +0000 (14:24 -0300)
commitba2cf98249795f03792d1409a3b6aaa589ea0745
treed384e88ab8dc95560c4d393ad39821315cb538e9
parent59800555f79a52394c3c29e19e448b4635daf14c
V4L/DVB (5831): stradis: use ARRAY_SIZE

sizeof(palette2fmt) / sizeof(u32) => ARRAY_SIZE(palette2fmt)

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/stradis.c