From: Tobias Klauser Date: Mon, 27 Mar 2006 09:17:39 +0000 (-0800) Subject: [PATCH] drivers/video: Use ARRAY_SIZE macro X-Git-Tag: v2.6.17-rc1~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ae418eef4ce763a95edec0b5fc095af5daca2e;p=pandora-kernel.git [PATCH] drivers/video: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Some coding style and trailing whitespaces are also fixed. Compile-tested where possible (some are other arch or BROKEN) Signed-off-by: Tobias Klauser Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed