udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.

Signed-off-by: Felipe Balbi <ba...@ti.com>
---
 drivers/usb/gadget/mv_u3d_core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c
index e5735fc..e6521b1 100644
--- a/drivers/usb/gadget/mv_u3d_core.c
+++ b/drivers/usb/gadget/mv_u3d_core.c
@@ -1955,8 +1955,6 @@ static int mv_u3d_probe(struct platform_device *dev)
        u3d->gadget.speed = USB_SPEED_UNKNOWN;  /* speed */
 
        /* 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.name = driver_name;         /* gadget name */
 
-- 
1.8.1.rc1.5.g7e0651a

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to