projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f217e9
)
usb: phy: phy-mxs-usb: Simplify return statement
author
Saurabh Karajgaonkar
<skarajga@visteon.com>
Tue, 4 Aug 2015 14:01:31 +0000
(14:01 +0000)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 4 Aug 2015 16:01:50 +0000
(11:01 -0500)
Replace redundant variable use in return statement.
Signed-off-by: Saurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-mxs-usb.c
b/drivers/usb/phy/phy-mxs-usb.c
index 3fcc0483a0811e8f7e2984aea1c4a11ce2da0951..4d863ebc117c0f59cce46f39fda4d191e93b9843 100644
(file)
--- a/
drivers/usb/phy/phy-mxs-usb.c
+++ b/
drivers/usb/phy/phy-mxs-usb.c
@@
-506,11
+506,7
@@
static int mxs_phy_probe(struct platform_device *pdev)
device_set_wakeup_capable(&pdev->dev, true);
- ret = usb_add_phy_dev(&mxs_phy->phy);
- if (ret)
- return ret;
-
- return 0;
+ return usb_add_phy_dev(&mxs_phy->phy);
}
static int mxs_phy_remove(struct platform_device *pdev)