Commit 91497600 authored by Felipe Balbi's avatar Felipe Balbi

usb: gadget: pch_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 981e070f
......@@ -3193,8 +3193,6 @@ static int pch_udc_probe(struct pci_dev *pdev,
if (retval)
goto finished;
dev->gadget.dev.parent = &pdev->dev;
dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
dev->gadget.dev.release = gadget_release;
dev->gadget.name = KBUILD_MODNAME;
dev->gadget.max_speed = USB_SPEED_HIGH;
......
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