From: Gustavo Padovan Date: Wed, 1 Apr 2015 16:02:06 +0000 (-0300) Subject: drm/exynos: remove unused exynos_crtc->win_enable() callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1be4b7ee800a57ca613131304e01cd91ec8bca2a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drm/exynos: remove unused exynos_crtc->win_enable() callback None of the exynos crtc drivers implements win_enable() so remove it for better clarity of the code. Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 9afd390d4674..4e8f0b04fff5 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -174,7 +174,6 @@ struct exynos_drm_display { * hardware overlay is updated. * @win_mode_set: copy drm overlay info to hw specific overlay info. * @win_commit: apply hardware specific overlay data to registers. - * @win_enable: enable hardware specific overlay. * @win_disable: disable hardware specific overlay. * @te_handler: trigger to transfer video image at the tearing effect * synchronization signal if there is a page flip request. @@ -192,7 +191,6 @@ struct exynos_drm_crtc_ops { void (*win_mode_set)(struct exynos_drm_crtc *crtc, struct exynos_drm_plane *plane); void (*win_commit)(struct exynos_drm_crtc *crtc, int zpos); - void (*win_enable)(struct exynos_drm_crtc *crtc, int zpos); void (*win_disable)(struct exynos_drm_crtc *crtc, int zpos); void (*te_handler)(struct exynos_drm_crtc *crtc); };