drm/i915: Introduce a for_each_intel_crtc() macro
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 13 May 2014 22:32:21 +0000 (23:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 May 2014 22:38:18 +0000 (00:38 +0200)
commitd063ae48c455dc7637c474a1d61004bcd39aa14a
tree3a23829af6536fb33c576f8f2675ad5072b0db13
parent546c81fd1ab956a9f40ee2d0839bd93e1a59f2d9
drm/i915: Introduce a for_each_intel_crtc() macro

Fed up with having that long list_for_each_entry() invocation?

Use for_each_intel_crtc()!

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