diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 14:15:51 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:32 +0200 |
commit | fd3682d9fd49210447c37085fe4e96e74061ae7f (patch) | |
tree | 70aab399917a67bae112a11013c18d6a4d5f05bf /drivers/usb/gadget/amd5536udc.c | |
parent | 180cc68ed82ced0c19f5a478f8d1cdd2024c1875 (diff) | |
download | op-kernel-dev-fd3682d9fd49210447c37085fe4e96e74061ae7f.zip op-kernel-dev-fd3682d9fd49210447c37085fe4e96e74061ae7f.tar.gz |
usb: gadget: amd5536udc: don't touch gadget.dev.driver
udc-core 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/amd5536udc.c')
-rw-r--r-- | drivers/usb/gadget/amd5536udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c index c994122..a8ff93c 100644 --- a/drivers/usb/gadget/amd5536udc.c +++ b/drivers/usb/gadget/amd5536udc.c @@ -1922,7 +1922,6 @@ static int amd5536_udc_start(struct usb_gadget *g, driver->driver.bus = NULL; dev->driver = driver; - dev->gadget.dev.driver = &driver->driver; /* Some gadget drivers use both ep0 directions. * NOTE: to gadget driver, ep0 is just one endpoint... @@ -1973,7 +1972,6 @@ static int amd5536_udc_stop(struct usb_gadget *g, shutdown(dev, driver); spin_unlock_irqrestore(&dev->lock, flags); - dev->gadget.dev.driver = NULL; dev->driver = NULL; /* set SD */ |