drm/i915: Add a for_each_intel_connector macro
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 3 Mar 2015 13:21:56 +0000 (15:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:29:53 +0000 (22:29 +0100)
commit3a3371ff0d924270fde978c93eb3921ad544eb79
treeb5d939ca9485b0f48c74b04efad95b301c719ec0
parenta91572f35bda9c39f3d3ac89f0d6e84ae75ae02e
drm/i915: Add a for_each_intel_connector macro

We have similar macros for crtcs and encoders, and the pattern happens
often enough to justify the macro.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp_mst.c