projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e6e3d3
)
usb: gadget: fsl_udc_core: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 12:59:40 +0000
(14:59 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:30 +0000
(11:17 +0200)
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fsl_udc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/fsl_udc_core.c
b/drivers/usb/gadget/fsl_udc_core.c
index c948241c6507ba0ad6fcd08405322c4024b6fb9a..acb176d54067a20a76fb768c24cae58bdb61b578 100644
(file)
--- a/
drivers/usb/gadget/fsl_udc_core.c
+++ b/
drivers/usb/gadget/fsl_udc_core.c
@@
-2497,7
+2497,6
@@
static int __init fsl_udc_probe(struct platform_device *pdev)
/* Setup gadget.dev and register with kernel */
dev_set_name(&udc_controller->gadget.dev, "gadget");
udc_controller->gadget.dev.release = fsl_udc_release;
- udc_controller->gadget.dev.parent = &pdev->dev;
udc_controller->gadget.dev.of_node = pdev->dev.of_node;
if (!IS_ERR_OR_NULL(udc_controller->transceiver))