projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f80cf
)
usb: phy: nop: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 11:52:23 +0000
(17:22 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 15 May 2013 14:23:41 +0000
(17:23 +0300)
Commit
0998d06310
(device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-nop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-nop.c
b/drivers/usb/phy/phy-nop.c
index 2b10cc969bbb1f4457a463c2072508953a42fdc2..638cc5dade35227732e77e6c5ccb0d769eb47d8b 100644
(file)
--- a/
drivers/usb/phy/phy-nop.c
+++ b/
drivers/usb/phy/phy-nop.c
@@
-254,8
+254,6
@@
static int nop_usb_xceiv_remove(struct platform_device *pdev)
usb_remove_phy(&nop->phy);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}