Skip to content

Commit

Permalink
usb: gadget: s3c2410_udc: don't touch gadget.dev.driver
Browse files Browse the repository at this point in the history
udc-core now handles that for us, which means
we can remove it from our driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 492a390 commit bbdb727
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/gadget/s3c2410_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bbdb727

Please sign in to comment.