usb: gadget: amd5536udc: remove unnecessary initializations
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 08:53:40 +0000 (10:53 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:18 +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/amd5536udc.c

index eec4461fb45fb5cfa5dfe190b35c7abcad15573b..c9941222e4a7b1307a8df6a45dee7f00e31e05ed 100644 (file)
@@ -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)