summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-03-29 16:44:15 +0800
committerEric Anholt <eric@anholt.net>2010-04-12 09:23:55 -0700
commit1f254ec2f1360202e2a024ce6b82df69fb14988f (patch)
tree42708abb943eea0231f8c0de29241067fd673398 /drivers/gpu/drm/i915/intel_display.c
parent0c41ee2be6fff0fb3c933fc0ecfdfbce485620f0 (diff)
drm/i915: remove connector object in old output structure
As all display drivers have been converted, remove the left reference for connector object in old structure. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index e4dd16296fa..ecf554aa768 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5238,16 +5238,6 @@ void intel_modeset_cleanup(struct drm_device *dev)
}
-/* current intel driver doesn't take advantage of encoders
- always give back the encoder for the connector
-*/
-struct drm_encoder *intel_best_encoder(struct drm_connector *connector)
-{
- struct intel_encoder *intel_encoder = to_intel_encoder(connector);
-
- return &intel_encoder->enc;
-}
-
/*
* Return which encoder is currently attached for connector.
*/