drm/i915: Polish the chv cmnlane resrt macros
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Jun 2014 16:52:13 +0000 (19:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:57 +0000 (17:43 +0200)
commitefd814b73cfcf4ed1cb561561d8df6daccb3ceb6
tree32e81db2ddf41987c02344c5d0c8cd1a20c212f0
parent3dd7b97458e8aa2d8985b46622d226fa635071e7
drm/i915: Polish the chv cmnlane resrt macros

Replace the semi-funky cmnlane assert/deassert macros with something a
bit more conventional. Also protect the macro arguments properly (also
for  PHY_POWERGOOD()).

Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c