drm/i915: cleanup: use ARRAY_SIZE()
authorDan Carpenter <error27@gmail.com>
Wed, 23 Jun 2010 17:29:54 +0000 (19:29 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:46 +0000 (19:03 -0700)
commit2991196fbc19f68206eb81694e9ef338366ebc53
tree8085ecb190c20b1a6d1339b70c728c85be2cd7db
parentcbb465e72ae2cf37d252284c28a0d89ddfaaa240
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 <error27@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_tv.c