]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/gpu/drm/exynos/exynos_mixer.c
drm/exynos: switch to universal plane API
[linux-beck.git] / drivers / gpu / drm / exynos / exynos_mixer.c
index e8b4ec84b312cc412351b08ab6e09f0626d5cc05..a41c84ee3a2d554a464219cf4000083b2e3fa4dd 100644 (file)
@@ -1302,15 +1302,12 @@ static int mixer_bind(struct device *dev, struct device *manager, void *data)
 static void mixer_unbind(struct device *dev, struct device *master, void *data)
 {
        struct exynos_drm_manager *mgr = dev_get_drvdata(dev);
-       struct drm_crtc *crtc = mgr->crtc;
 
        dev_info(dev, "remove successful\n");
 
        mixer_mgr_remove(mgr);
 
        pm_runtime_disable(dev);
-
-       crtc->funcs->destroy(crtc);
 }
 
 static const struct component_ops mixer_component_ops = {