phy: rockchip-snps-pcie3: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 14 Sep 2022 13:37:28 +0000 (21:37 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 20 Sep 2022 06:27:24 +0000 (11:57 +0530)
commit8b8934ac6de5da734ebe1b693cc475d11515888f
tree87009131650b2acbd5512dbaa5fcf25c875d8628
parentc4c349be07aeec5f397a349046dc5fc0f2657691
phy: rockchip-snps-pcie3: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220914133728.3781160-1-yangyingliang@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c