summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2017-06-28 00:16:15 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-28 13:51:13 +0300
commitb35954722c5e753d3e7170d71b0058c9fd2620e3 (patch)
tree769c0099b76d7e57b36dcf12f0525ceb53bce0a1
parentf3f63e6b5683ffb83eebc40f9768356a7beab6dc (diff)
downloadlinux-b35954722c5e753d3e7170d71b0058c9fd2620e3.tar.xz
drm: arcpgu: Remove CRTC .prepare() helper operation
The CRTC helper .prepare() operation is legacy code, the atomic helpers prefer the .disable() operation. As the arcpgu driver implements the .disable() and .prepare() operations identicallly, .prepare() can be removed. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170627211621.27767-2-laurent.pinchart+renesas@ideasonboard.com
-rw-r--r--drivers/gpu/drm/arc/arcpgu_crtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c
index 51745608e09d..1f306781c9d5 100644
--- a/drivers/gpu/drm/arc/arcpgu_crtc.c
+++ b/drivers/gpu/drm/arc/arcpgu_crtc.c
@@ -163,7 +163,6 @@ static const struct drm_crtc_helper_funcs arc_pgu_crtc_helper_funcs = {
.mode_set_nofb = arc_pgu_crtc_mode_set_nofb,
.enable = arc_pgu_crtc_enable,
.disable = arc_pgu_crtc_disable,
- .prepare = arc_pgu_crtc_disable,
.atomic_begin = arc_pgu_crtc_atomic_begin,
};