OSDN Git Service

drm/vc4: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:59:03 +0000 (21:59 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 1 Sep 2021 09:43:25 +0000 (11:43 +0200)
commit23019ff2c9dc7196badad828d7c68a0b9c4ede92
tree259eda86ebdbb0ce0e1b7b216a6361cc8ef77787
parent4c216f0da88e3e7b4412a69abfda78fdfe62dca1
drm/vc4: 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: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831135903.4931-1-caihuoqing@baidu.com
drivers/gpu/drm/vc4/vc4_drv.c