From: Dan Carpenter Date: Tue, 14 Aug 2012 05:51:20 +0000 (-0300) Subject: [media] it913x-fe: use ARRAY_SIZE() as a cleanup X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~376 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5359805193dc83e1aab2f8e230d57c649363c5c5;p=pandora-kernel.git [media] it913x-fe: use ARRAY_SIZE() as a cleanup This code looks suspicious, but it turns out that "nv" is an array of u8 so sizeof() is the same as ARRAY_SIZE(). Using ARRAY_SIZE() is more readable though. Signed-off-by: Dan Carpenter Cc: Malcolm Priestley Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed