Commit 8a1c3307 authored by Felipe Balbi's avatar Felipe Balbi

usb: gadget: fsl_udc_core: 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 5e6e3d38
......@@ -2497,7 +2497,6 @@ static int __init fsl_udc_probe(struct platform_device *pdev)
/* Setup gadget.dev and register with kernel */
dev_set_name(&udc_controller->gadget.dev, "gadget");
udc_controller->gadget.dev.release = fsl_udc_release;
udc_controller->gadget.dev.parent = &pdev->dev;
udc_controller->gadget.dev.of_node = pdev->dev.of_node;
if (!IS_ERR_OR_NULL(udc_controller->transceiver))
......
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