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:
6c39d90
)
usb: gadget: atmel_usba_udc: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 08:54:46 +0000
(10:54 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:19 +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/atmel_usba_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/atmel_usba_udc.c
b/drivers/usb/gadget/atmel_usba_udc.c
index 94aeba84b21ea13dc8a31a4b68cc8cfd26efbdf2..e85d50b75de3bab0a5a57658f4345b93cd4bcdc9 100644
(file)
--- a/
drivers/usb/gadget/atmel_usba_udc.c
+++ b/
drivers/usb/gadget/atmel_usba_udc.c
@@
-1885,9
+1885,6
@@
static int __init usba_udc_probe(struct platform_device *pdev)
dev_info(&pdev->dev, "FIFO at 0x%08lx mapped at %p\n",
(unsigned long)fifo->start, udc->fifo);
- udc->gadget.dev.parent = &pdev->dev;
- udc->gadget.dev.dma_mask = pdev->dev.dma_mask;
-
platform_set_drvdata(pdev, udc);
/* Make sure we start from a clean slate */