From: Mauro Carvalho Chehab Date: Thu, 29 Mar 2007 01:37:26 +0000 (-0300) Subject: V4L/DVB (5478): Use ARRAY_SIZE and a cleaner logic for initializing tuner X-Git-Tag: v2.6.22-rc1~1118^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b9c4e6dbb3204568d4c058af6e34772393ada19;p=pandora-kernel.git V4L/DVB (5478): Use ARRAY_SIZE and a cleaner logic for initializing tuner ATI HDTV Wonder needs to initialize some registers before allowing the tuner to start working. The current logic have lots of magic. This patch makes the code cleaner, using ARRAY_SIZE() for the initialization array and using a bidimensional array, instead of doing some stuff like: &buffer[i+2] Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed