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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bbdb72702e9268cad8136b6bd0d8862eed90535d;p=linux-beck.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);