diff options
author | Su Hui <suhui@nfschina.com> | 2023-11-20 12:10:47 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-11-27 16:09:18 +0300 |
commit | 2a9c713825b3127ece11984abf973672c9779518 (patch) | |
tree | e4d6cb15c45adfcfaf7b397313de4054f6c3373d /drivers/mtd | |
parent | 06f76e464ac81c6915430b7155769ea4ef16efe4 (diff) | |
download | linux-2a9c713825b3127ece11984abf973672c9779518.tar.xz |
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: 99d9ccd97385 ("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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions