drm/i915: introduce for_each_encoder_on_crtc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 07:50:24 +0000 (09:50 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 13:06:33 +0000 (15:06 +0200)
We already have this pattern at quite a few places, and moving part of
the modeset helper stuff into the driver will add more.

v2: Don't clobber the crtc struct name with the macro parameter ...

v3: Convert two more places noticed by Paulo Zanoni.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found