drm/arm/hdlcd: 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. Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Brian Starkey <brian.starkey@arm.com> Signed-off-by: NNoralf Trønnes <noralf@tronnes.org> Acked-by: NLiviu Dudau <liviu.dudau@arm.com> Signed-off-by: NLiviu Dudau <liviu.dudau@arm.com>
Showing
想要评论请 注册 或 登录