drm/i915: Replace a few for_each_pipe(i) by for_each_pipe(pipe)
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 3 Mar 2014 17:31:46 +0000 (17:31 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:36 +0000 (21:30 +0100)
commit07d27e20bc4ab2c8f969df8ebd7622320a0cdd92
tree6c5165a600b13bc9add46443e5d4fa395e9c35ca
parente3d51285348a6564356010465411c9a60d070a51
drm/i915: Replace a few for_each_pipe(i) by for_each_pipe(pipe)

Consistency throughout the code base is good and remove some room for
mistakes (as explained in the "drm/i915: Use a pipe variable to cycle
through the pipes" commit)

So, let's replace the for_each_pipe(i) occurences by for_each_pipe(pipe)
when it's reasonable and practical to do so (eg. when there isn't another
pipe variable already).

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c