diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 14:35:06 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:34 +0200 |
commit | fc2dba950b27e6ec412efb932458cd6abfe77940 (patch) | |
tree | 48578088dc83f8619a133bf768e2d2cce477d1b3 /drivers/usb/gadget/fsl_qe_udc.c | |
parent | 42c82fb4d1658bb9630f6248178f79d8854c5bfd (diff) | |
download | op-kernel-dev-fc2dba950b27e6ec412efb932458cd6abfe77940.zip op-kernel-dev-fc2dba950b27e6ec412efb932458cd6abfe77940.tar.gz |
usb: gadget: fsl_qe_udc: 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/fsl_qe_udc.c')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 0e7531b..37feb62 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c @@ -2296,7 +2296,6 @@ static int fsl_qe_start(struct usb_gadget *gadget, driver->driver.bus = NULL; /* hook up the driver */ udc->driver = driver; - udc->gadget.dev.driver = &driver->driver; udc->gadget.speed = driver->max_speed; /* Enable IRQ reg and Set usbcmd reg EN bit */ @@ -2338,7 +2337,6 @@ static int fsl_qe_stop(struct usb_gadget *gadget, nuke(loop_ep, -ESHUTDOWN); spin_unlock_irqrestore(&udc->lock, flags); - udc->gadget.dev.driver = NULL; udc->driver = NULL; dev_info(udc->dev, "unregistered gadget driver '%s'\r\n", |