drm/exynos: Remove crtc->disable
[cascardo/linux.git] / drivers / gpu / drm / exynos / exynos_drm_crtc.c
index db9167a..09d98ff 100644 (file)
@@ -299,16 +299,6 @@ static void exynos_drm_crtc_dpms(struct drm_crtc *crtc, int mode)
 #endif
 }
 
-static void exynos_drm_crtc_disable(struct drm_crtc *crtc)
-{
-       struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc);
-       struct exynos_drm_overlay *overlay = &exynos_crtc->overlay;
-       int win = overlay->zpos;
-
-       exynos_drm_fn_encoder(crtc, &win,
-               exynos_drm_encoder_crtc_disable);
-}
-
 static void exynos_drm_crtc_prepare(struct drm_crtc *crtc)
 {
        DRM_DEBUG_KMS("%s\n", __FILE__);
@@ -420,7 +410,6 @@ static void exynos_drm_crtc_load_lut(struct drm_crtc *crtc)
 
 static struct drm_crtc_helper_funcs exynos_crtc_helper_funcs = {
        .dpms           = exynos_drm_crtc_dpms,
-       .disable        = exynos_drm_crtc_disable,
        .prepare        = exynos_drm_crtc_prepare,
        .commit         = exynos_drm_crtc_commit,
        .mode_fixup     = exynos_drm_crtc_mode_fixup,