]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm: zynqmp_dp: Use devm_platform_ioremap_resource_byname()
authorJinjie Ruan <ruanjinjie@huawei.com>
Wed, 28 Aug 2024 08:49:29 +0000 (16:49 +0800)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 12 Feb 2025 08:02:40 +0000 (10:02 +0200)
commitf7d07bcd0651b90dda8a6962057eb5fb1807a089
tree6feebfd5f92f980547b178dcd442d72c63b30631
parent2f2cd4a0595d894ba53d95e2a230032f8615dcdd
drm: zynqmp_dp: Use devm_platform_ioremap_resource_byname()

platform_get_resource_byname() and devm_ioremap_resource() can be
replaced by devm_platform_ioremap_resource_byname(), which can
simplify the code logic a bit, No functional change here.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240828084929.2527228-1-ruanjinjie@huawei.com
drivers/gpu/drm/xlnx/zynqmp_dp.c