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:
ecd5fb0
)
phy: twl4030-usb: Remove redundant assignment for twl->linkstat
author
Axel Lin
<axel.lin@ingics.com>
Sun, 1 Mar 2015 14:28:23 +0000
(22:28 +0800)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Fri, 13 Mar 2015 11:44:36 +0000
(17:14 +0530)
It's pointless to set twl->linkstat twice.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-twl4030-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/phy/phy-twl4030-usb.c
b/drivers/phy/phy-twl4030-usb.c
index 8e87f54671f32de11915a7921824fc4a8929ab84..bc42d6a8939f4efd85fb1e10ea6d12faa1b76e97 100644
(file)
--- a/
drivers/phy/phy-twl4030-usb.c
+++ b/
drivers/phy/phy-twl4030-usb.c
@@
-666,7
+666,6
@@
static int twl4030_usb_probe(struct platform_device *pdev)
twl->dev = &pdev->dev;
twl->irq = platform_get_irq(pdev, 0);
twl->vbus_supplied = false;
- twl->linkstat = -EINVAL;
twl->linkstat = OMAP_MUSB_UNKNOWN;
twl->phy.dev = twl->dev;