]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
usb: gadget: s3c2410_udc: don't touch gadget.dev.driver
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 12:37:12 +0000 (14:37 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:43 +0000 (11:17 +0200)
udc-core now handles that for us, which means
we can remove it from our driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c2410_udc.c

index e15d1bbc2ad9ef6c4ad9135dc1c5879e14f0048b..d0e75e1b3ccb9323de0a29622586894710fd2679 100644 (file)
@@ -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);