summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pxa27x_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 13:36:52 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:17:41 +0100
commit0280f4d99a1e9ff2883a3df20ad2c995110ed011 (patch)
treeeba18a6eddc61927d1994e0f20f53c8f769a3846 /drivers/usb/gadget/pxa27x_udc.c
parentusb: gadget: pxa25x_udc: don't touch gadget.dev.driver (diff)
downloadlinux-0280f4d99a1e9ff2883a3df20ad2c995110ed011.tar.xz
linux-0280f4d99a1e9ff2883a3df20ad2c995110ed011.zip
usb: gadget: pxa27x_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/pxa27x_udc.c')
-rw-r--r--drivers/usb/gadget/pxa27x_udc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
index 5fda425f263f..ad954c49d061 100644
--- a/drivers/usb/gadget/pxa27x_udc.c
+++ b/drivers/usb/gadget/pxa27x_udc.c
@@ -1809,7 +1809,6 @@ static int pxa27x_udc_start(struct usb_gadget *g,
/* first hook up the driver ... */
udc->driver = driver;
- udc->gadget.dev.driver = &driver->driver;
dplus_pullup(udc, 1);
if (!IS_ERR_OR_NULL(udc->transceiver)) {
@@ -1827,7 +1826,6 @@ static int pxa27x_udc_start(struct usb_gadget *g,
fail:
udc->driver = NULL;
- udc->gadget.dev.driver = NULL;
return retval;
}