]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e09cef1adc5b62970056670e9c22fdab905d294
tree31d14b7469f22e02f49f761afffa14ade0091f51
parent4447cbab7c6c9e2c9efd3de9aca3627a249174e3
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