diff options
| author | Felipe Balbi <balbi@ti.com> | 2013-02-26 07:37:12 -0500 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:17:43 -0400 |
| commit | bbdb72702e9268cad8136b6bd0d8862eed90535d (patch) | |
| tree | 7b186c19b4d8a4a5cdb00737f45f50ae30fc7305 | |
| parent | 492a39022ad5825d8edbbdca993e18bf3f37f5fc (diff) | |
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: Felipe Balbi <balbi@ti.com>
| -rw-r--r-- | drivers/usb/gadget/s3c2410_udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c index e15d1bbc2ad9..d0e75e1b3ccb 100644 --- a/drivers/usb/gadget/s3c2410_udc.c +++ b/drivers/usb/gadget/s3c2410_udc.c | |||
| @@ -1674,7 +1674,6 @@ static int s3c2410_udc_start(struct usb_gadget *g, | |||
| 1674 | 1674 | ||
| 1675 | /* Hook the driver */ | 1675 | /* Hook the driver */ |
| 1676 | udc->driver = driver; | 1676 | udc->driver = driver; |
| 1677 | udc->gadget.dev.driver = &driver->driver; | ||
| 1678 | 1677 | ||
| 1679 | /* Enable udc */ | 1678 | /* Enable udc */ |
| 1680 | s3c2410_udc_enable(udc); | 1679 | s3c2410_udc_enable(udc); |
