aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/atmel_usba_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 03:54:46 -0500
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:17:19 -0400
commit442803d844315a96ec5f3ed981a427ed56d41835 (patch)
treea106c44f12f63b7ead8afe532c3175df0a68ce94 /drivers/usb/gadget/atmel_usba_udc.c
parent6c39d90393a2feff052f9cb5e460a5c2b25d8214 (diff)
usb: gadget: atmel_usba_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/atmel_usba_udc.c')
-rw-r--r--drivers/usb/gadget/atmel_usba_udc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
index 94aeba84b21e..e85d50b75de3 100644
--- a/drivers/usb/gadget/atmel_usba_udc.c
+++ b/drivers/usb/gadget/atmel_usba_udc.c
@@ -1885,9 +1885,6 @@ static int __init usba_udc_probe(struct platform_device *pdev)
1885 dev_info(&pdev->dev, "FIFO at 0x%08lx mapped at %p\n", 1885 dev_info(&pdev->dev, "FIFO at 0x%08lx mapped at %p\n",
1886 (unsigned long)fifo->start, udc->fifo); 1886 (unsigned long)fifo->start, udc->fifo);
1887 1887
1888 udc->gadget.dev.parent = &pdev->dev;
1889 udc->gadget.dev.dma_mask = pdev->dev.dma_mask;
1890
1891 platform_set_drvdata(pdev, udc); 1888 platform_set_drvdata(pdev, udc);
1892 1889
1893 /* Make sure we start from a clean slate */ 1890 /* Make sure we start from a clean slate */