summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c2410_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 14:37:12 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:43 +0200
commitbbdb72702e9268cad8136b6bd0d8862eed90535d (patch)
tree7b186c19b4d8a4a5cdb00737f45f50ae30fc7305 /drivers/usb/gadget/s3c2410_udc.c
parent492a39022ad5825d8edbbdca993e18bf3f37f5fc (diff)
downloadlinux-bbdb72702e9268cad8136b6bd0d8862eed90535d.tar.gz
linux-bbdb72702e9268cad8136b6bd0d8862eed90535d.tar.bz2
linux-bbdb72702e9268cad8136b6bd0d8862eed90535d.zip
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>
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
-rw-r--r--drivers/usb/gadget/s3c2410_udc.c1
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,
/* Hook the driver */
udc->driver = driver;
- udc->gadget.dev.driver = &driver->driver;
/* Enable udc */
s3c2410_udc_enable(udc);