aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_dpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_dpi.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
index 482127f633c5..4693531ebd48 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
@@ -48,7 +48,7 @@ exynos_dpi_detect(struct drm_connector *connector, bool force)
48 48
49static void exynos_dpi_connector_destroy(struct drm_connector *connector) 49static void exynos_dpi_connector_destroy(struct drm_connector *connector)
50{ 50{
51 drm_sysfs_connector_remove(connector); 51 drm_connector_unregister(connector);
52 drm_connector_cleanup(connector); 52 drm_connector_cleanup(connector);
53} 53}
54 54
@@ -117,7 +117,7 @@ static int exynos_dpi_create_connector(struct exynos_drm_display *display,
117 } 117 }
118 118
119 drm_connector_helper_add(connector, &exynos_dpi_connector_helper_funcs); 119 drm_connector_helper_add(connector, &exynos_dpi_connector_helper_funcs);
120 drm_sysfs_connector_add(connector); 120 drm_connector_register(connector);
121 drm_mode_connector_attach_encoder(connector, encoder); 121 drm_mode_connector_attach_encoder(connector, encoder);
122 122
123 return 0; 123 return 0;