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:
53fae09
)
usb: gadget: m66592-udc: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:07:39 +0000
(11:07 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:22 +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/m66592-udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/m66592-udc.c
b/drivers/usb/gadget/m66592-udc.c
index eb61d0b54f21538288098210de2b4194df09ec31..ae33e535c283c5e8a7f250334f49ff153f415868 100644
(file)
--- a/
drivers/usb/gadget/m66592-udc.c
+++ b/
drivers/usb/gadget/m66592-udc.c
@@
-1608,8
+1608,6
@@
static int __init m66592_probe(struct platform_device *pdev)
m66592->gadget.ops = &m66592_gadget_ops;
m66592->gadget.max_speed = USB_SPEED_HIGH;
- m66592->gadget.dev.parent = &pdev->dev;
- m66592->gadget.dev.dma_mask = pdev->dev.dma_mask;
m66592->gadget.dev.release = pdev->dev.release;
m66592->gadget.name = udc_name;