drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:56:43 +0000 (21:56 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 13 Sep 2021 07:58:40 +0000 (09:58 +0200)
commitd4cb82aa2e4bc0e46582a625cb41b64c83fdde49
tree31d14b7469f22e02f49f761afffa14ade0091f51
parent9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce
drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately

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>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831135644.4576-1-caihuoqing@baidu.com
drivers/gpu/drm/meson/meson_drv.c
drivers/gpu/drm/meson/meson_dw_hdmi.c