summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 10:53:40 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:18 +0200
commit6c39d90393a2feff052f9cb5e460a5c2b25d8214 (patch)
tree836efac6c7f610242a7e99d453bbb743ac026825
parent036804a4b7089bdff9e5c70805c09ce4133b4440 (diff)
usb: gadget: amd5536udc: remove unnecessary initializations
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>
-rw-r--r--drivers/usb/gadget/amd5536udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c
index eec4461fb45f..c9941222e4a7 100644
--- a/drivers/usb/gadget/amd5536udc.c
+++ b/drivers/usb/gadget/amd5536udc.c
@@ -3244,8 +3244,6 @@ static int udc_pci_probe(
dev->phys_addr = resource;
dev->irq = pdev->irq;
dev->pdev = pdev;
- dev->gadget.dev.parent = &pdev->dev;
- dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
/* general probing */
if (udc_probe(dev) == 0)