summaryrefslogtreecommitdiff
path: root/drivers/phy/sunplus/phy-sunplus-usb2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/sunplus/phy-sunplus-usb2.c')
-rw-r--r--drivers/phy/sunplus/phy-sunplus-usb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/sunplus/phy-sunplus-usb2.c b/drivers/phy/sunplus/phy-sunplus-usb2.c
index 0efe74ac9c6a..637a5fbae6d9 100644
--- a/drivers/phy/sunplus/phy-sunplus-usb2.c
+++ b/drivers/phy/sunplus/phy-sunplus-usb2.c
@@ -275,7 +275,7 @@ static int sp_usb_phy_probe(struct platform_device *pdev)
phy = devm_phy_create(&pdev->dev, NULL, &sp_uphy_ops);
if (IS_ERR(phy)) {
- ret = -PTR_ERR(phy);
+ ret = PTR_ERR(phy);
return ret;
}