drm: arcpgu: Remove CRTC .commit() helper operation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 Jun 2017 21:16:14 +0000 (00:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Jun 2017 10:51:13 +0000 (12:51 +0200)
The CRTC helper .commit() operation is legacy code, the atomic helpers
prefer the .enable() operation. As the arcpgu driver implements the
.enable() operation, .commit() is never used and 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-1-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/arc/arcpgu_crtc.c

index 611af74..5174560 100644 (file)
@@ -164,7 +164,6 @@ static const struct drm_crtc_helper_funcs arc_pgu_crtc_helper_funcs = {
        .enable         = arc_pgu_crtc_enable,
        .disable        = arc_pgu_crtc_disable,
        .prepare        = arc_pgu_crtc_disable,
-       .commit         = arc_pgu_crtc_enable,
        .atomic_begin   = arc_pgu_crtc_atomic_begin,
 };