projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88060d6
)
usb: gadget: imx_udc: don't touch gadget.dev.driver
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 12:35:40 +0000
(14:35 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:36 +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/imx_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/imx_udc.c
b/drivers/usb/gadget/imx_udc.c
index c29d9e81dae45838fd011677ca2cbb57f5aa096c..b5cebd6b0d7af170128ede0f90754052b694aeb2 100644
(file)
--- a/
drivers/usb/gadget/imx_udc.c
+++ b/
drivers/usb/gadget/imx_udc.c
@@
-1338,7
+1338,6
@@
static int imx_udc_start(struct usb_gadget *gadget,
imx_usb = container_of(gadget, struct imx_udc_struct, gadget);
/* first hook up the driver ... */
imx_usb->driver = driver;
- imx_usb->gadget.dev.driver = &driver->driver;
D_INI(imx_usb->dev, "<%s> registered gadget driver '%s'\n",
__func__, driver->driver.name);
@@
-1358,7
+1357,6
@@
static int imx_udc_stop(struct usb_gadget *gadget,
imx_udc_disable(imx_usb);
del_timer(&imx_usb->timer);
- imx_usb->gadget.dev.driver = NULL;
imx_usb->driver = NULL;
D_INI(imx_usb->dev, "<%s> unregistered gadget driver '%s'\n",