Skip to content

phy: freescale: imx8m-pcie: Use devm_platform_ioremap_resource()

Steve Best requested to merge sfbest/centos-stream-9:2230655 into main

Bugzilla: https://bugzilla.redhat.com/2230655

Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54846923

Tested: Did sanity boot testing on (nxp-imx8mquad-01.edge1) system.

commit 1541fbaca0d9c68e46d2593112a578f1c13fd312 Author: Yang Li yang.lee@linux.alibaba.com Date: Fri Apr 28 13:27:58 2023 +0800

phy: freescale: imx8m-pcie: Use devm_platform_ioremap_resource()

Convert platform_get_resource(),devm_ioremap_resource() to a single
call to devm_platform_ioremap_resource(), as this is exactly what this
function does.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230428052758.38636-1-yang.lee@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

Signed-off-by: Steve Best sbest@redhat.com

Merge request reports