phy: phy-stm32-usbphyc: convert to devm_platform_ioremap_resource
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 6 Nov 2020 06:08:48 +0000 (14:08 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 16 Nov 2020 07:17:47 +0000 (12:47 +0530)
commit5a77b16c6b2b0eb5ab108d1933e99be769f5c90f
tree8c2cab8b30bbdfdbbef9f5340d0cd427b6d6b4fa
parent2f0c9fac3be6c834427f9d2af2107ebd6602d4b1
phy: phy-stm32-usbphyc: convert to devm_platform_ioremap_resource

Use devm_platform_ioremap_resource to simplify code

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Amelie Delaunay <amelie.delaunay@st.com>
Link: https://lore.kernel.org/r/1604642930-29019-15-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/st/phy-stm32-usbphyc.c