drm/panfrost: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 07:53:27 +0000 (15:53 +0800)
committerSteven Price <steven.price@arm.com>
Thu, 2 Sep 2021 09:13:47 +0000 (10:13 +0100)
commit3605eacc8ae055d699f7fa3adb9123c4c36ecd82
tree2cbb8de832e673d48c2999eb4c809254e7e7b768
parent771d2053d41ff4d7c8dded432182cd1807ddc204
drm/panfrost: 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>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831075327.653-1-caihuoqing@baidu.com
drivers/gpu/drm/panfrost/panfrost_device.c