|
@@ -1001,16 +1001,11 @@ static enum drm_connector_status anx78xx_detect(struct drm_connector *connector,
|
|
|
return connector_status_connected;
|
|
|
}
|
|
|
|
|
|
-static void anx78xx_connector_destroy(struct drm_connector *connector)
|
|
|
-{
|
|
|
- drm_connector_cleanup(connector);
|
|
|
-}
|
|
|
-
|
|
|
static const struct drm_connector_funcs anx78xx_connector_funcs = {
|
|
|
.dpms = drm_atomic_helper_connector_dpms,
|
|
|
.fill_modes = drm_helper_probe_single_connector_modes,
|
|
|
.detect = anx78xx_detect,
|
|
|
- .destroy = anx78xx_connector_destroy,
|
|
|
+ .destroy = drm_connector_cleanup,
|
|
|
.reset = drm_atomic_helper_connector_reset,
|
|
|
.atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
|
|
|
.atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
|