]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/gpu/drm/exynos/exynos_drm_vidi.c
drm/exynos: switch to universal plane API
[linux-beck.git] / drivers / gpu / drm / exynos / exynos_drm_vidi.c
index 2e6120b5e74fe77a3ac0f281f7f4d9cc67b66ee4..d565207040a2590d416895b5dc9247ef68824492 100644 (file)
@@ -631,7 +631,6 @@ static int vidi_remove(struct platform_device *pdev)
        struct exynos_drm_manager *mgr = platform_get_drvdata(pdev);
        struct vidi_context *ctx = mgr->ctx;
        struct drm_encoder *encoder = ctx->encoder;
-       struct drm_crtc *crtc = mgr->crtc;
 
        if (ctx->raw_edid != (struct edid *)fake_edid_info) {
                kfree(ctx->raw_edid);
@@ -640,7 +639,6 @@ static int vidi_remove(struct platform_device *pdev)
                return -EINVAL;
        }
 
-       crtc->funcs->destroy(crtc);
        encoder->funcs->destroy(encoder);
        drm_connector_cleanup(&ctx->connector);