diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 04:20:39 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:17:27 -0400 |
commit | b372c9572c4513500f0811371f3bd09616a64eba (patch) | |
tree | 29942a8e7b916a2ac740cc14991028a238e23432 | |
parent | 6966fe8add4d47a2d55cab197925165e772f1197 (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 3276a6d278fd..5fda425f263f 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) | |||
2453 | goto err_map; | 2453 | goto err_map; |
2454 | } | 2454 | } |
2455 | 2455 | ||
2456 | udc->gadget.dev.parent = &pdev->dev; | ||
2457 | udc->gadget.dev.dma_mask = NULL; | ||
2458 | udc->vbus_sensed = 0; | 2456 | udc->vbus_sensed = 0; |
2459 | 2457 | ||
2460 | the_controller = udc; | 2458 | the_controller = udc; |