Commit 2b5ced1a authored by Felipe Balbi's avatar Felipe Balbi

usb: gadget: mv_u3d_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 1048d83d
...@@ -1955,8 +1955,6 @@ static int mv_u3d_probe(struct platform_device *dev) ...@@ -1955,8 +1955,6 @@ static int mv_u3d_probe(struct platform_device *dev)
u3d->gadget.speed = USB_SPEED_UNKNOWN; /* speed */ u3d->gadget.speed = USB_SPEED_UNKNOWN; /* speed */
/* the "gadget" abstracts/virtualizes the controller */ /* the "gadget" abstracts/virtualizes the controller */
u3d->gadget.dev.parent = &dev->dev;
u3d->gadget.dev.dma_mask = dev->dev.dma_mask;
u3d->gadget.dev.release = mv_u3d_gadget_release; u3d->gadget.dev.release = mv_u3d_gadget_release;
u3d->gadget.name = driver_name; /* gadget name */ u3d->gadget.name = driver_name; /* gadget name */
......
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