OSDN Git Service

drm: xlnx: zynqmp_dpsub: Use devm_platform_ioremap_resource_byname()
authorLi Zetao <lizetao1@huawei.com>
Tue, 1 Aug 2023 08:32:20 +0000 (16:32 +0800)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 1 Aug 2023 22:36:54 +0000 (01:36 +0300)
commit9bde3bfe24ca09a43b26e4bfcd569edace434cfa
treef67ed8b5b28edcaeed3f7a530d568e7fffe0817a
parent55354ee7dcc5aa12634f66a12c92c849eded8de9
drm: xlnx: zynqmp_dpsub: Use devm_platform_ioremap_resource_byname()

Convert platform_get_resource_byname() + devm_ioremap_resource() to a
single call to devm_platform_ioremap_resource_byname(), as this is
exactly what this function does.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c