Commit 442803d8 authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <balbi@ti.com>
parent 6c39d903
...@@ -1885,9 +1885,6 @@ static int __init usba_udc_probe(struct platform_device *pdev) ...@@ -1885,9 +1885,6 @@ static int __init usba_udc_probe(struct platform_device *pdev)
dev_info(&pdev->dev, "FIFO at 0x%08lx mapped at %p\n", dev_info(&pdev->dev, "FIFO at 0x%08lx mapped at %p\n",
(unsigned long)fifo->start, udc->fifo); (unsigned long)fifo->start, udc->fifo);
udc->gadget.dev.parent = &pdev->dev;
udc->gadget.dev.dma_mask = pdev->dev.dma_mask;
platform_set_drvdata(pdev, udc); platform_set_drvdata(pdev, udc);
/* Make sure we start from a clean slate */ /* Make sure we start from a clean slate */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment