diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 14:34:33 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:33 +0200 |
commit | 155149e6724435eff47e0c6427b271b23815b40e (patch) | |
tree | 696211560092192e1af85757649eff1156bbcce9 /drivers/usb/gadget/bcm63xx_udc.c | |
parent | 1503a33932732dfbd880b905993e4122a7b53f53 (diff) | |
download | op-kernel-dev-155149e6724435eff47e0c6427b271b23815b40e.zip op-kernel-dev-155149e6724435eff47e0c6427b271b23815b40e.tar.gz |
usb: gadget: bcm63xx_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/bcm63xx_udc.c')
-rw-r--r-- | drivers/usb/gadget/bcm63xx_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers/usb/gadget/bcm63xx_udc.c index e7d2cd0..904d474 100644 --- a/drivers/usb/gadget/bcm63xx_udc.c +++ b/drivers/usb/gadget/bcm63xx_udc.c @@ -1819,7 +1819,6 @@ static int bcm63xx_udc_start(struct usb_gadget *gadget, udc->driver = driver; driver->driver.bus = NULL; - udc->gadget.dev.driver = &driver->driver; udc->gadget.dev.of_node = udc->dev->of_node; spin_unlock_irqrestore(&udc->lock, flags); @@ -1841,7 +1840,6 @@ static int bcm63xx_udc_stop(struct usb_gadget *gadget, spin_lock_irqsave(&udc->lock, flags); udc->driver = NULL; - udc->gadget.dev.driver = NULL; /* * If we switch the PHY too abruptly after dropping D+, the host |