diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 14:36:47 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:41 +0200 |
commit | 83a9adc9d815d12797df45a30c0f391c07c762bd (patch) | |
tree | 1a07736c181b2c465c02b123321bebf07df29725 /drivers/usb/gadget/pxa25x_udc.c | |
parent | 37e337e1d3e20b101d6f3a6b55e7c7118a6d99a0 (diff) | |
download | op-kernel-dev-83a9adc9d815d12797df45a30c0f391c07c762bd.zip op-kernel-dev-83a9adc9d815d12797df45a30c0f391c07c762bd.tar.gz |
usb: gadget: pxa25x_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/pxa25x_udc.c')
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index 9fea053..ef47495 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c @@ -1263,7 +1263,6 @@ static int pxa25x_udc_start(struct usb_gadget *g, /* first hook up the driver ... */ dev->driver = driver; - dev->gadget.dev.driver = &driver->driver; dev->pullup = 1; /* ... then enable host detection and ep0; and we're ready @@ -1325,7 +1324,6 @@ static int pxa25x_udc_stop(struct usb_gadget*g, if (!IS_ERR_OR_NULL(dev->transceiver)) (void) otg_set_peripheral(dev->transceiver->otg, NULL); - dev->gadget.dev.driver = NULL; dev->driver = NULL; dump_state(dev); |