Commit c5673f5c authored by Saurabh Karajgaonkar's avatar Saurabh Karajgaonkar Committed by Felipe Balbi

usb: phy: phy-keystone: Simplify return statement

Replace redundant variable use in return statement.
Signed-off-by: default avatarSaurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 4b68b50f
...@@ -96,11 +96,7 @@ static int keystone_usbphy_probe(struct platform_device *pdev) ...@@ -96,11 +96,7 @@ static int keystone_usbphy_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, k_phy); platform_set_drvdata(pdev, k_phy);
ret = usb_add_phy_dev(&k_phy->usb_phy_gen.phy); return usb_add_phy_dev(&k_phy->usb_phy_gen.phy);
if (ret)
return ret;
return 0;
} }
static int keystone_usbphy_remove(struct platform_device *pdev) static int keystone_usbphy_remove(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment