From: Dan Carpenter Date: Wed, 23 Jun 2010 17:29:54 +0000 (+0200) Subject: drm/i915: cleanup: use ARRAY_SIZE() X-Git-Tag: v2.6.36-rc1~540^2~11^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2991196fbc19f68206eb81694e9ef338366ebc53;p=pandora-kernel.git drm/i915: cleanup: use ARRAY_SIZE() NUM_TV_MODES is the same as ARRAY_SIZE(tv_modes). In the end, I decided it was cleaner to remove NUM_TV_MODES and just use ARRAY_SIZE(tv_modes) through out. Signed-off-by: Dan Carpenter Signed-off-by: Eric Anholt --- Reading git-diff-tree failed