usb: gadget: pxa27x_udc: remove unnecessary initializations
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 09:20:39 +0000 (11:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:27 +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/pxa27x_udc.c

index 3276a6d278fd9d9d2e3e1b37ad895511d36c3882..5fda425f263f95adf906296659541d3d597bc9b3 100644 (file)
@@ -2453,8 +2453,6 @@ static int pxa_udc_probe(struct platform_device *pdev)
                goto err_map;
        }
 
-       udc->gadget.dev.parent = &pdev->dev;
-       udc->gadget.dev.dma_mask = NULL;
        udc->vbus_sensed = 0;
 
        the_controller = udc;