diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2013-06-12 16:27:30 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-01 05:14:41 -0400 |
commit | 73845adf3357c3c71da25e18f44e5a9924d666d5 (patch) | |
tree | 65c02e3577b889b7b0951bfbe112e6818e774d99 | |
parent | b2a1475561d59e8d182ba8cc4b7e78b662a3f533 (diff) |
drm/i915: rename intel_dp_destroy to intel_dp_connector_destroy
Because it's the function that destroys the connector, not the
encoder. And we already have intel_dp_encoder_destroy.
This has annoyed me for a long time.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Zoltan Nyul <zoltan.nyul@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 591502c6f34c..24a44ede867d 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -2681,7 +2681,7 @@ done: | |||
2681 | } | 2681 | } |
2682 | 2682 | ||
2683 | static void | 2683 | static void |
2684 | intel_dp_destroy(struct drm_connector *connector) | 2684 | intel_dp_connector_destroy(struct drm_connector *connector) |
2685 | { | 2685 | { |
2686 | struct intel_connector *intel_connector = to_intel_connector(connector); | 2686 | struct intel_connector *intel_connector = to_intel_connector(connector); |
2687 | 2687 | ||
@@ -2724,7 +2724,7 @@ static const struct drm_connector_funcs intel_dp_connector_funcs = { | |||
2724 | .detect = intel_dp_detect, | 2724 | .detect = intel_dp_detect, |
2725 | .fill_modes = drm_helper_probe_single_connector_modes, | 2725 | .fill_modes = drm_helper_probe_single_connector_modes, |
2726 | .set_property = intel_dp_set_property, | 2726 | .set_property = intel_dp_set_property, |
2727 | .destroy = intel_dp_destroy, | 2727 | .destroy = intel_dp_connector_destroy, |
2728 | }; | 2728 | }; |
2729 | 2729 | ||
2730 | static const struct drm_connector_helper_funcs intel_dp_connector_helper_funcs = { | 2730 | static const struct drm_connector_helper_funcs intel_dp_connector_helper_funcs = { |