phy: omap-usb2-phy: Use dev_err_probe()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Thu, 23 Mar 2023 07:45:52 +0000 (15:45 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 13:50:19 +0000 (19:20 +0530)
commit623cb3e22c9d7ecb655df8e32701c8a92313746b
tree13d98be2404c96828c1cef2094d16c35c30c5061
parentd414c14c2d162f379f62bc48ef8eb7dfd1c08be5
phy: omap-usb2-phy: Use dev_err_probe()

Replace the open-code with dev_err_probe() to simplify the code.

Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/202303231545522162256@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-omap-usb2.c