From: Tobias Klauser Date: Fri, 31 Mar 2006 10:29:45 +0000 (-0800) Subject: [PATCH] drivers/mtd: Use ARRAY_SIZE macro X-Git-Tag: v2.6.17-rc1~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87d10f3c7954d143e509a2af2bca2a27aeb3114d;p=pandora-kernel.git [PATCH] drivers/mtd: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of the macro. Signed-off-by: Tobias Klauser Cc: Thomas Gleixner Acked-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed