phy: use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 17 Nov 2022 06:11:43 +0000 (14:11 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:53:07 +0000 (23:23 +0530)
commitb53e19799d45edf7ca7cfd0cf5d6fb2d5179edec
tree214e07ab790fe415ebc8cfa91dba4ff22b5e818d
parent4d0c2165e64eec00c19b68b1abc83e57e9633db9
phy: use devm_platform_get_and_ioremap_resource()

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

Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211171411439883050@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/marvell/phy-mmp3-hsic.c