summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:03:14 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:03:14 -0700
commit4f0841a31cbed315a3e891557eadc55cab0dfd23 (patch)
tree46064ab51d09ddfea1cd26cdf4dc76c2b100c74e /linux-core
parent73b031df613b58c4462a65818b88200bed0a97de (diff)
Just use drm_output_destroy to cleanup LVDS failures. It'll call our cleanup
routine, which will take care of freeing our dev_priv and i2c ddc bus.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_lvds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-core/intel_lvds.c b/linux-core/intel_lvds.c
index 8454bbcf..34ed6a9d 100644
--- a/linux-core/intel_lvds.c
+++ b/linux-core/intel_lvds.c
@@ -501,6 +501,5 @@ out:
failed:
DRM_DEBUG("No LVDS modes found, disabling.\n");
- // intel_lvds_destroy(output);
- // drm_output_destroy(output);
+ drm_output_destroy(output); /* calls intel_lvds_destroy above */
}