drm/rockchip: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:57:21 +0000 (21:57 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Sep 2021 09:46:04 +0000 (11:46 +0200)
commit61735698103fafb5bc0df4ab208fc140c27cabc6
tree334dd626cfd97f984265ebac08f9ddfe443bc6ef
parent2e87bf389e1396b9f1360e1a7cdc27f423f56463
drm/rockchip: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831135721.4726-1-caihuoqing@baidu.com
drivers/gpu/drm/rockchip/cdn-dp-core.c
drivers/gpu/drm/rockchip/inno_hdmi.c
drivers/gpu/drm/rockchip/rockchip_lvds.c