From: Felipe Balbi Date: Tue, 26 Feb 2013 12:37:12 +0000 (+0200) Subject: usb: gadget: s3c2410_udc: don't touch gadget.dev.driver X-Git-Tag: Ubuntu-5.0.0-8.9~13898^2~63^2~169 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bbdb72702e9268cad8136b6bd0d8862eed90535d;p=mirror_ubuntu-disco-kernel.git 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 --- 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);