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:
0e4d65e
)
usb: gadget: fusb300_udc: don't assign gadget.dev.release directly
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 13:15:26 +0000
(15:15 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:48 +0000
(11:17 +0200)
udc-core provides a better way to handle release
methods, let's use it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fusb300_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index d69e840b101ba32367255395670ce190394b7d66..d05355389dd6b5b91e10d9eeaa289a92de6d9c78 100644
(file)
--- a/
drivers/usb/gadget/fusb300_udc.c
+++ b/
drivers/usb/gadget/fusb300_udc.c
@@
-1418,7
+1418,6
@@
static int __init fusb300_probe(struct platform_device *pdev)
fusb300->gadget.ops = &fusb300_gadget_ops;
fusb300->gadget.max_speed = USB_SPEED_HIGH;
- fusb300->gadget.dev.release = pdev->dev.release;
fusb300->gadget.name = udc_name;
fusb300->reg = reg;