drm/i915/dp: Refactor common eDP lid detection
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Sep 2014 19:03:59 +0000 (20:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:36:59 +0000 (12:36 +0200)
commitd410b56d74bc706f414158cb0149e2a149ee1650
tree54bf36fa9a7befa62f24fa4da101d15aafd1e7bd
parent26db63e3cb7af431707cd0467c7bcfefad25aa39
drm/i915/dp: Refactor common eDP lid detection

Both gmch and pch detection routines used the exact same routine for
eDP, so de-duplicate.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: : Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c