projects
/
GitHub
/
LineageOS
/
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:
d606b35
)
usb: gadget: net2272: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:14:54 +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/net2272.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/net2272.c
b/drivers/usb/gadget/net2272.c
index 78c8bb5383323cf203af02ff6e90e0a1b012cbc0..bfb55d382cf9a3a1fd2a0f44161124538f9aaab6 100644
(file)
--- a/
drivers/usb/gadget/net2272.c
+++ b/
drivers/usb/gadget/net2272.c
@@
-2235,8
+2235,6
@@
static struct net2272 *net2272_probe_init(struct device *dev, unsigned int irq)
ret->gadget.max_speed = USB_SPEED_HIGH;
/* the "gadget" abstracts/virtualizes the controller */
- ret->gadget.dev.parent = dev;
- ret->gadget.dev.dma_mask = dev->dma_mask;
ret->gadget.dev.release = net2272_gadget_release;
ret->gadget.name = driver_name;