Commit bbdb7270 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: gadget: s3c2410_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 492a3902
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1674,7 +1674,6 @@ static int s3c2410_udc_start(struct usb_gadget *g,

	/* Hook the driver */
	udc->driver = driver;
	udc->gadget.dev.driver = &driver->driver;

	/* Enable udc */
	s3c2410_udc_enable(udc);