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:
2b5ced1
)
usb: gadget: mv_udc_core: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:14:14 +0000
(11:14 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:24 +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/mv_udc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/mv_udc_core.c
b/drivers/usb/gadget/mv_udc_core.c
index 7f4d19d75578209bf93b80db9fcf6f9828af12af..b3061112d13a2c0571fc69b0ca4fd2dcaa3d00ba 100644
(file)
--- a/
drivers/usb/gadget/mv_udc_core.c
+++ b/
drivers/usb/gadget/mv_udc_core.c
@@
-2268,8
+2268,6
@@
static int mv_udc_probe(struct platform_device *pdev)
udc->gadget.max_speed = USB_SPEED_HIGH; /* support dual speed */
/* the "gadget" abstracts/virtualizes the controller */
- udc->gadget.dev.parent = &pdev->dev;
- udc->gadget.dev.dma_mask = pdev->dev.dma_mask;
udc->gadget.dev.release = gadget_release;
udc->gadget.name = driver_name; /* gadget name */