summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 11:20:39 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:27 +0200
commitb372c9572c4513500f0811371f3bd09616a64eba (patch)
tree29942a8e7b916a2ac740cc14991028a238e23432
parent6966fe8add4d47a2d55cab197925165e772f1197 (diff)
usb: gadget: pxa27x_udc: 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/pxa27x_udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
index 3276a6d278f..5fda425f263 100644
--- a/drivers/usb/gadget/pxa27x_udc.c
+++ b/drivers/usb/gadget/pxa27x_udc.c
@@ -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;