drm/i915: Introduce a for_each_plane() macro
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 4 Sep 2014 11:27:43 +0000 (12:27 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Sep 2014 14:15:52 +0000 (16:15 +0200)
commit2d025a5b763bc8344fe656e2df8c9900c0c99f28
treef1bbc6f392e7f551336c34165769618e55f9feef
parent2789339044fb6dfbee0c8cd77e26438b80e333ee
drm/i915: Introduce a for_each_plane() macro

Tired of copy/pasting things around.

v2: Rebase on top of the for_each_pipe() change adding dev_priv as first
    argument.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h