]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Don't implement empty prepare_fb()/cleanup_fb()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 19 Aug 2016 08:39:29 +0000 (11:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Aug 2016 08:58:55 +0000 (10:58 +0200)
commit08f7e15eeb021cbf54ff50b8cb906fc14279c02b
tree80d58e065c6265b4aafaafeefed36b6037a61860
parentd5f9babc25b00725e87f5a6be809b7d5945fac52
drm: Don't implement empty prepare_fb()/cleanup_fb()

The plane .prepare_fb() and .cleanup_fb() helpers are optional, there's
no need to implement empty stubs, and no need to explicitly set the
function pointers to NULL either.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
[danvet: Resolved conflicts with Chris' patch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/arc/arcpgu_crtc.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/vc4/vc4_plane.c