Commit 0280f4d9 authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <balbi@ti.com>
parent 83a9adc9
...@@ -1809,7 +1809,6 @@ static int pxa27x_udc_start(struct usb_gadget *g, ...@@ -1809,7 +1809,6 @@ static int pxa27x_udc_start(struct usb_gadget *g,
/* first hook up the driver ... */ /* first hook up the driver ... */
udc->driver = driver; udc->driver = driver;
udc->gadget.dev.driver = &driver->driver;
dplus_pullup(udc, 1); dplus_pullup(udc, 1);
if (!IS_ERR_OR_NULL(udc->transceiver)) { if (!IS_ERR_OR_NULL(udc->transceiver)) {
...@@ -1827,7 +1826,6 @@ static int pxa27x_udc_start(struct usb_gadget *g, ...@@ -1827,7 +1826,6 @@ static int pxa27x_udc_start(struct usb_gadget *g,
fail: fail:
udc->driver = NULL; udc->driver = NULL;
udc->gadget.dev.driver = NULL;
return retval; return retval;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment