projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb00d69
)
usb: gadget: bcm63xx_udc: Remove redundant platform_set_drvdata()
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 6 May 2013 11:37:20 +0000
(17:07 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 15 May 2013 14:20:32 +0000
(17:20 +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>
Cc: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/bcm63xx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/bcm63xx_udc.c
b/drivers/usb/gadget/bcm63xx_udc.c
index
6e65182
..
9780c57
100644
(file)
--- a/
drivers/usb/gadget/bcm63xx_udc.c
+++ b/
drivers/usb/gadget/bcm63xx_udc.c
@@
-2420,7
+2420,6
@@
static int bcm63xx_udc_remove(struct platform_device *pdev)
usb_del_gadget_udc(&udc->gadget);
BUG_ON(udc->driver);
- platform_set_drvdata(pdev, NULL);
bcm63xx_uninit_udc_hw(udc);
return 0;