]> git.baikalelectronics.ru Git - kernel.git/commit
drm/shmobile: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:57:30 +0000 (21:57 +0800)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Oct 2021 02:42:18 +0000 (05:42 +0300)
commit7af32895a81664c7332f0fef33b1e6578a84261a
treee6fb91f383896df816ccab04ec469e2b49268505
parent64ad6c7c4f992bab3f33df09d049dacdfbebcb4d
drm/shmobile: 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: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/shmobile/shmob_drm_drv.c