summaryrefslogtreecommitdiffstats
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
parent492a39022ad5825d8edbbdca993e18bf3f37f5fc (diff)
downloadop-kernel-dev-bbdb72702e9268cad8136b6bd0d8862eed90535d.zip
op-kernel-dev-bbdb72702e9268cad8136b6bd0d8862eed90535d.tar.gz
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.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 e15d1bb..d0e75e1 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);
OpenPOWER on IntegriCloud