OpenCloudOS-Kernel/drivers/gpu/drm/stm
Noralf Trønnes 068b393c1a drm/stm: Use drm_fb_cma_fbdev_init/fini()
Use drm_fb_cma_fbdev_init() 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 duplicate ldev assignment.

Cc: Yannick Fertre <yannick.fertre@st.com>
Cc: Philippe Cornu <philippe.cornu@st.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171115142001.45358-14-noralf@tronnes.org
2017-12-08 14:47:41 +01:00
..
Kconfig drm: stm: remove "default y" in Kconfig 2017-07-26 14:43:23 +02:00
Makefile drm/stm: Add STM32 DSI controller driver 2017-07-26 14:42:52 +02:00
drv.c drm/stm: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:41 +01:00
dw_mipi_dsi-stm.c gpu: drm: stm: Adopt SPDX identifiers 2017-12-06 15:51:37 +01:00
ltdc.c gpu: drm: stm: Adopt SPDX identifiers 2017-12-06 15:51:37 +01:00
ltdc.h drm/stm: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:41 +01:00