Skip to content
Commit 2a9c7138 authored by Su Hui's avatar Su Hui Committed by Vinod Koul
Browse files

phy: sunplus: return negative error code in sp_usb_phy_probe



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

Fixes: 99d9ccd9 ("phy: usb: Add USB2.0 phy driver for Sunplus SP7021")
Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231120091046.163781-1-suhui@nfschina.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 06f76e46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment