linux-stable/drivers/phy/sunplus
Su Hui 09aa95c0e7 phy: sunplus: return negative error code in sp_usb_phy_probe
[ Upstream commit 2a9c713825 ]

devm_phy_create() return negative error code, 'ret' should be
'PTR_ERR(phy)' rather than '-PTR_ERR(phy)'.

Fixes: 99d9ccd973 ("phy: usb: Add USB2.0 phy driver for Sunplus SP7021")
Signed-off-by: Su Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231120091046.163781-1-suhui@nfschina.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:16:57 +01:00
..
Kconfig
Makefile
phy-sunplus-usb2.c phy: sunplus: return negative error code in sp_usb_phy_probe 2024-01-10 17:16:57 +01:00