]> git.baikalelectronics.ru Git - kernel.git/commit
drm/v3d: Make use of the helper function devm_platform_ioremap_resource_byname()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 11:29:40 +0000 (19:29 +0800)
committerMelissa Wen <melissa.srw@gmail.com>
Mon, 20 Sep 2021 12:37:34 +0000 (13:37 +0100)
commitdf72216dac00b9499f48d4e832b2ec3fd0a2f401
tree126550989109878c8b228fad7db2c41abb88cf20
parent935529e83f24845b13b6fc7f6578a2e290abca43
drm/v3d: Make use of the helper function devm_platform_ioremap_resource_byname()

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

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210901112941.31320-1-caihuoqing@baidu.com
drivers/gpu/drm/v3d/v3d_drv.c