Re: [patch] i915: cleanup: use ARRAY_SIZE()

2010-07-06 Thread Eric Anholt
On Wed, 23 Jun 2010 19:29:54 +0200, Dan Carpenter wrote: > 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 Applied. Thanks! pgpxRo4IzRAqg.pgp De

[patch] i915: cleanup: use ARRAY_SIZE()

2010-07-06 Thread Eric Anholt
On Wed, 23 Jun 2010 19:29:54 +0200, Dan Carpenter wrote: > 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 Applied. Thanks! -- next pa

[patch] i915: cleanup: use ARRAY_SIZE()

2010-06-24 Thread Dan Carpenter
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 diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index 6d553c2..ee4de98 100644

[patch] i915: cleanup: use ARRAY_SIZE()

2010-06-23 Thread Dan Carpenter
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 diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index 6d553c2..ee4de98 100644