OSDN Git Service

drm: rockchip: remove rockchip_drm_framebuffer_init() function
authorJohan Jonker <jbx6244@gmail.com>
Wed, 19 Oct 2022 21:35:03 +0000 (23:35 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 29 Oct 2022 16:31:09 +0000 (18:31 +0200)
commit4016379301a33e8bd0c2ef5c02f5d7f6a4afece4
tree34e9eb0dedde7ee5e60e10fe28a91b02e02da86e
parent2a865248399a13bb2b2bcc50297069a7521de258
drm: rockchip: remove rockchip_drm_framebuffer_init() function

The function rockchip_drm_framebuffer_init() was in use
in the rockchip_drm_fbdev.c file, but that is now replaced
by a generic fbdev setup. Reduce the image size by
removing the rockchip_drm_framebuffer_init() and sub function
rockchip_fb_alloc() and cleanup the rockchip_drm_fb.h header file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: John Keeping <john@metanate.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/ebe91504-c5df-99e4-635f-832218584051@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_fb.c
drivers/gpu/drm/rockchip/rockchip_drm_fb.h