mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
981e070fdd
commit
91497600e2
1 changed files with 0 additions and 2 deletions
|
@ -3193,8 +3193,6 @@ static int pch_udc_probe(struct pci_dev *pdev,
|
||||||
if (retval)
|
if (retval)
|
||||||
goto finished;
|
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.dev.release = gadget_release;
|
||||||
dev->gadget.name = KBUILD_MODNAME;
|
dev->gadget.name = KBUILD_MODNAME;
|
||||||
dev->gadget.max_speed = USB_SPEED_HIGH;
|
dev->gadget.max_speed = USB_SPEED_HIGH;
|
||||||
|
|
Loading…
Reference in a new issue