summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pxa27x_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 10:20:39 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:17:27 +0100
commitb372c9572c4513500f0811371f3bd09616a64eba (patch)
tree29942a8e7b916a2ac740cc14991028a238e23432 /drivers/usb/gadget/pxa27x_udc.c
parentusb: gadget: pxa25x_udc: remove unnecessary initializations (diff)
downloadlinux-b372c9572c4513500f0811371f3bd09616a64eba.tar.xz
linux-b372c9572c4513500f0811371f3bd09616a64eba.zip
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.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 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;