drm/tinydrm: Use drm_fb_cma_fbdev_init_with_funcs/fini()
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 8 Dec 2017 19:37:42 +0000 (20:37 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Sun, 10 Dec 2017 14:37:07 +0000 (15:37 +0100)
commitd3820952ea1b49f46e340e2d366b080d3ddeea65
tree1960034959bdbcac43838f12f4940c8d24385289
parentbdecd83546352e0cdf54f64d8d6206f1fef32d75
drm/tinydrm: Use drm_fb_cma_fbdev_init_with_funcs/fini()

Use drm_fb_cma_fbdev_init_with_funcs() and drm_fb_cma_fbdev_fini() which
relies on the fact that drm_device holds a pointer to the drm_fb_helper
structure. This means that the driver doesn't have to keep track of that.
Also use the drm_fb_helper functions directly.
Remove todo entry.

Cc: David Lechner <david@lechnology.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: David Lechner <david@lechnology.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: David Lechner <david@lechnolgy.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171208193743.34450-11-noralf@tronnes.org
Documentation/gpu/todo.rst
drivers/gpu/drm/tinydrm/core/tinydrm-core.c
drivers/gpu/drm/tinydrm/ili9225.c
drivers/gpu/drm/tinydrm/mi0283qt.c
drivers/gpu/drm/tinydrm/st7586.c
include/drm/tinydrm/tinydrm.h