OSDN Git Service

phy: dphy: Use devm_platform_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 23 Mar 2023 07:35:34 +0000 (15:35 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 13:49:47 +0000 (19:19 +0530)
commitd414c14c2d162f379f62bc48ef8eb7dfd1c08be5
treebb0d2bcb035429cb433d6ffff0731765a741e3e5
parenteb016875080cf035f588fa31c7d1e43dfe462451
phy: dphy: Use devm_platform_ioremap_resource()

According to commit 7945f929f1a7 ("drivers: provide
devm_platform_ioremap_resource()"), convert platform_get_resource(),
devm_ioremap_resource() to a single call to use
devm_platform_ioremap_resource(), as this is exactly what this function
does.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323073534.75037-1-yang.lee@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson-axg-mipi-dphy.c