drm/i915: Use HAS_PCH_CPT() everywhere
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Jun 2017 13:03:06 +0000 (16:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Jun 2017 16:08:34 +0000 (19:08 +0300)
commitb9eb89b21fa3f759d775fbd50236ece663771736
tree373872657736d09a8f8546dcbcb26d89355e1cd8
parent4a234c5fae1686c8327edeaabc0f2d6fb86db470
drm/i915: Use HAS_PCH_CPT() everywhere

We have a few cases comparing pch_type directly. Let's just replace
them with HAS_PCH_CPT() since CPT/PPT is what they're looking for.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620130310.13245-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_sdvo.c