summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-05-13 23:32:22 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-14 00:38:24 +0200
commitd3fcc808b2c7077d94463ac75b95fc598aebd7f1 (patch)
tree5bb4b9080cf6b5ee76bb97616b1e687f987a553e /drivers/gpu/drm/i915/i915_drv.h
parentd063ae48c455dc7637c474a1d61004bcd39aa14a (diff)
downloadlwn-d3fcc808b2c7077d94463ac75b95fc598aebd7f1.tar.gz
lwn-d3fcc808b2c7077d94463ac75b95fc598aebd7f1.zip
drm/i915: Use for_each_intel_crtc() when iterating through intel_crtcs
Generated using the semantic patch: @@ iterator name list_for_each_entry; iterator name for_each_intel_crtc; struct intel_crtc * crtc; struct drm_device * dev; @@ -list_for_each_entry(crtc,&dev->mode_config.crtc_list,...) { +for_each_intel_crtc(dev,crtc) { ... } Followed by a couple of fixups by hand (that spatch doesn't match the cases where list_for_each_entry() is not followed by a set of '{', '}', but I couldn't figure out a way to leave the '{' out of the iterator match). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions