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:
9fa4c96
)
usb: gadget: lpc32xx_udc: don't touch gadget.dev.driver
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 12:35:48 +0000
(14:35 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:37 +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/lpc32xx_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/lpc32xx_udc.c
b/drivers/usb/gadget/lpc32xx_udc.c
index 14783278390085f36297b2a1c8a98f471605e8be..b943d8cdfbf75d056eb50cba2899ace0fbdb55a5 100644
(file)
--- a/
drivers/usb/gadget/lpc32xx_udc.c
+++ b/
drivers/usb/gadget/lpc32xx_udc.c
@@
-2946,7
+2946,6
@@
static int lpc32xx_start(struct usb_gadget *gadget,
}
udc->driver = driver;
- udc->gadget.dev.driver = &driver->driver;
udc->gadget.dev.of_node = udc->dev->of_node;
udc->enabled = 1;
udc->selfpowered = 1;
@@
-2995,7
+2994,6
@@
static int lpc32xx_stop(struct usb_gadget *gadget,
}
udc->enabled = 0;
- udc->gadget.dev.driver = NULL;
udc->driver = NULL;
return 0;