Re: [Intel-gfx] [PATCH] drm/i915: prefer for_each_intel_* macros for iteration

2015-12-16 Thread Jani Nikula
On Wed, 16 Dec 2015, Daniel Vetter wrote: > On Wed, Dec 16, 2015 at 12:48:16PM +0200, Jani Nikula wrote: >> Use the for_each_intel_* macros for iterating intel_encoder, >> intel_connector, and intel_crtc. No functional changes. >> >> Signed-off-by: Jani Nikula > > Trusting that gcc will scream a

Re: [Intel-gfx] [PATCH] drm/i915: prefer for_each_intel_* macros for iteration

2015-12-16 Thread Daniel Vetter
On Wed, Dec 16, 2015 at 12:48:16PM +0200, Jani Nikula wrote: > Use the for_each_intel_* macros for iterating intel_encoder, > intel_connector, and intel_crtc. No functional changes. > > Signed-off-by: Jani Nikula Trusting that gcc will scream at you if you fumbled types: Reviewed-by: Daniel Vet

[Intel-gfx] [PATCH] drm/i915: prefer for_each_intel_* macros for iteration

2015-12-16 Thread Jani Nikula
Use the for_each_intel_* macros for iterating intel_encoder, intel_connector, and intel_crtc. No functional changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.c | 11 --- drivers/gpu/drm/i915/intel_display.c | 10 +++--- drivers/gpu/drm/i915/intel_dp.c