aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/driver.c
diff options
context:
space:
mode:
authorDan Carpenter2010-06-23 19:29:54 +0200
committerEric Anholt2010-08-01 19:03:46 -0700
commit2991196fbc19f68206eb81694e9ef338366ebc53 (patch)
tree8085ecb190c20b1a6d1339b70c728c85be2cd7db /drivers/pnp/driver.c
parentcbb465e72ae2cf37d252284c28a0d89ddfaaa240 (diff)
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>
Diffstat (limited to 'drivers/pnp/driver.c')
0 files changed, 0 insertions, 0 deletions