]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit837677bc27276f32e83f8f4e66663da89c53f8d8
tree2cbb8de832e673d48c2999eb4c809254e7e7b768
parentad45ac997c4bd695a32152d6302ec98c0ee1f453
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