diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-09-22 09:30:48 (GMT) |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-11-02 16:51:27 (GMT) |
commit | d9aaf7576241a9c24ede9998a630b29b26d8a6d0 (patch) | |
tree | 530b287e522f9a62a9fba8886ddee448409b3b9a /drivers/gpu/drm/exynos/exynos_drm_dpi.c | |
parent | c52142e6a88da1152ec7c3f887aedee4e50b2d56 (diff) | |
download | linux-d9aaf7576241a9c24ede9998a630b29b26d8a6d0.tar.xz |
drm/exynos: remove explicit encoder/connector de-initialization
All KMS objects are destroyed by drm_mode_config_cleanup in proper order
so component drivers should not care about it.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_dpi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_dpi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c index 96c87db..3dc678e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c @@ -338,14 +338,10 @@ err_del_component: int exynos_dpi_remove(struct device *dev) { - struct drm_encoder *encoder = exynos_dpi_display.encoder; struct exynos_dpi *ctx = exynos_dpi_display.ctx; exynos_dpi_dpms(&exynos_dpi_display, DRM_MODE_DPMS_OFF); - exynos_dpi_connector_destroy(&ctx->connector); - encoder->funcs->destroy(encoder); - if (ctx->panel) drm_panel_detach(ctx->panel); |