projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index
d69e840
..
d053553
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;