diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 13:20:39 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 13:17:27 +0400 |
commit | b372c9572c4513500f0811371f3bd09616a64eba (patch) | |
tree | 29942a8e7b916a2ac740cc14991028a238e23432 /drivers/usb/gadget/pxa27x_udc.c | |
parent | 6966fe8add4d47a2d55cab197925165e772f1197 (diff) | |
download | linux-b372c9572c4513500f0811371f3bd09616a64eba.tar.xz |
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>
Diffstat (limited to 'drivers/usb/gadget/pxa27x_udc.c')
-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) goto err_map; } - udc->gadget.dev.parent = &pdev->dev; - udc->gadget.dev.dma_mask = NULL; udc->vbus_sensed = 0; the_controller = udc; |