drm/rockchip: vop: Use cleanup helper directly as destroy funcs
authorJonas Karlman <jonas@kwiboo.se>
Wed, 21 Jun 2023 22:33:18 +0000 (22:33 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 12 Aug 2023 21:53:34 +0000 (23:53 +0200)
commit800f7c332df7cd9614c416fd005a6bb53f96f13c
tree3be5b7f8a7e5d6e3223bff3db0040da75eadd57b
parent13fc28804bf10ca0b7bce3efbba95c534836d7ca
drm/rockchip: vop: Use cleanup helper directly as destroy funcs

vop_plane_destroy and vop_crtc_destroy are plain wrappers around
drm_plane_cleanup and drm_crtc_cleanup. Use them directly as plane and
crtc funcs to closer match VOP2 driver.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230621223311.2239547-3-jonas@kwiboo.se
drivers/gpu/drm/rockchip/rockchip_drm_vop.c