udc-core now handles that for us, which means
we can remove it from our driver.

Signed-off-by: Felipe Balbi <[email protected]>
---
 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 e6521b1..dc64450 100644
--- a/drivers/usb/gadget/mv_u3d_core.c
+++ b/drivers/usb/gadget/mv_u3d_core.c
@@ -1264,7 +1264,6 @@ static int mv_u3d_start(struct usb_gadget *g,
        /* hook up the driver ... */
        driver->driver.bus = NULL;
        u3d->driver = driver;
-       u3d->gadget.dev.driver = &driver->driver;
 
        u3d->ep0_dir = USB_DIR_OUT;
 
@@ -1302,7 +1301,6 @@ static int mv_u3d_stop(struct usb_gadget *g,
 
        spin_unlock_irqrestore(&u3d->lock, flags);
 
-       u3d->gadget.dev.driver = NULL;
        u3d->driver = NULL;
 
        return 0;
-- 
1.8.1.rc1.5.g7e0651a

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

Reply via email to