]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit405d79d9f03aafb7bae6c8bd6d191fe4b38ac662
tree6c5165a600b13bc9add46443e5d4fa395e9c35ca
parent557a7120b6cd388e0a93b25c0e0cce25a365aa28
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