drm/i915: ironlake_write_eld code cleanup
authorWang Xingchao <xingchao.wang@intel.com>
Thu, 9 Aug 2012 08:52:18 +0000 (16:52 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Aug 2012 08:10:04 +0000 (10:10 +0200)
Use _PIPE macro to get correct register definition for IBX/CPT, discard
old variable "i" way.

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
[danvet: Added the DIP_PORT_SEL #define from a preceeding patch in the
series that needs more work.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found