udc-core now handles that for us, which means
we can remove it from our driver.

Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/usb/gadget/pxa27x_udc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
index 5fda425..ad954c4 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;
 }
 
-- 
1.8.1.rc1.5.g7e0651a

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to