aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-12-13 11:09:04 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-14 05:20:00 -0500
commit3f8c65d60467c6ccf4d690f5266567d6c423ae7d (patch)
tree7152ec578fdf856e3d352a5c67985835d58202b3 /drivers/gpu/drm/i915/intel_dp.c
parentc36346e302b3a36bfb10b58167b69ab7ac95f10a (diff)
drm/i915: Remove stale comment about intel_dp_detect()
The function doesn't use any of the registers mentioned, nor does it return true or false. Hard to do worse. Remove it, the function is absolutely descriptive enough to not need any comment. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 5ed8fb3435ee..185bf4e7614e 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -2343,13 +2343,6 @@ intel_dp_get_edid_modes(struct drm_connector *connector, struct i2c_adapter *ada
2343 return intel_ddc_get_modes(connector, adapter); 2343 return intel_ddc_get_modes(connector, adapter);
2344} 2344}
2345 2345
2346
2347/**
2348 * Uses CRT_HOTPLUG_EN and CRT_HOTPLUG_STAT to detect DP connection.
2349 *
2350 * \return true if DP port is connected.
2351 * \return false if DP port is disconnected.
2352 */
2353static enum drm_connector_status 2346static enum drm_connector_status
2354intel_dp_detect(struct drm_connector *connector, bool force) 2347intel_dp_detect(struct drm_connector *connector, bool force)
2355{ 2348{