drm/i915: Use ARRAY_SIZE() instead of hand rolling it
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Aug 2015 17:45:28 +0000 (20:45 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Aug 2015 09:19:30 +0000 (11:19 +0200)
commit53abb6794ac022e6c0b5f239fc26d99ea054ee86
tree35aa51e5164e088e581e3038be26fa07def0306b
parent0a0b457fbf765d0b98fa48495b9bb7901eb8b091
drm/i915: Use ARRAY_SIZE() instead of hand rolling it

A couple of hand rolled ARRAY_SIZE()s caught my eye. Get rid of them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_tv.c
drivers/gpu/drm/i915/intel_uncore.c