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:
1048d83
)
usb: gadget: mv_u3d_core: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:13:28 +0000
(11:13 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:23 +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_u3d_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/mv_u3d_core.c
b/drivers/usb/gadget/mv_u3d_core.c
index e5735fc610de064e0cf9b57ac7248f67bb258037..e6521b1954498f039f8f8401796e5a32e671159b 100644
(file)
--- a/
drivers/usb/gadget/mv_u3d_core.c
+++ b/
drivers/usb/gadget/mv_u3d_core.c
@@
-1955,8
+1955,6
@@
static int mv_u3d_probe(struct platform_device *dev)
u3d->gadget.speed = USB_SPEED_UNKNOWN; /* speed */
/* the "gadget" abstracts/virtualizes the controller */
- u3d->gadget.dev.parent = &dev->dev;
- u3d->gadget.dev.dma_mask = dev->dev.dma_mask;
u3d->gadget.dev.release = mv_u3d_gadget_release;
u3d->gadget.name = driver_name; /* gadget name */