summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/amd5536udc.c
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 /drivers/usb/gadget/amd5536udc.c
parent036804a4b7089bdff9e5c70805c09ce4133b4440 (diff)
downloadlinux-3.10-6c39d90393a2feff052f9cb5e460a5c2b25d8214.tar.gz
linux-3.10-6c39d90393a2feff052f9cb5e460a5c2b25d8214.tar.bz2
linux-3.10-6c39d90393a2feff052f9cb5e460a5c2b25d8214.zip
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>
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.c')
-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 eec4461fb45..c9941222e4a 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)