summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/mv_u3d_core.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 14:35:59 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:38 +0200
commit900b5817d874dd894ca05b2cd8df8acd63dfd64e (patch)
treeca2f95a5d0b7d7efa505390115a8be5586ba5835 /drivers/usb/gadget/mv_u3d_core.c
parente3ee46f291875a18afe9debeeb676483953e22e7 (diff)
downloadtalos-obmc-linux-900b5817d874dd894ca05b2cd8df8acd63dfd64e.tar.gz
talos-obmc-linux-900b5817d874dd894ca05b2cd8df8acd63dfd64e.zip
usb: gadget: mv_u3d_core: don't touch gadget.dev.driver
udc-core now handles that for us, which means we can remove it from our driver. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mv_u3d_core.c')
-rw-r--r--drivers/usb/gadget/mv_u3d_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c
index e6521b195449..dc6445046da7 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;
OpenPOWER on IntegriCloud