projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae5afb
)
usb: gadget: udc: core: fix unregistering message
author
Felipe Balbi
<balbi@ti.com>
Fri, 17 Oct 2014 16:54:46 +0000
(11:54 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:16 +0000
(10:01 -0600)
Currently, we're printing gadget driver name when
registering and UDC name when unregistering. Standardize
on always printing gadget driver name.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/udc-core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/udc-core.c
b/drivers/usb/gadget/udc/udc-core.c
index 3fed7a2742a0fbe87377939ad633ac416d368b0e..52f457bb0bbcf45bb9a9ff40ca246a30f05375a9 100644
(file)
--- a/
drivers/usb/gadget/udc/udc-core.c
+++ b/
drivers/usb/gadget/udc/udc-core.c
@@
-325,7
+325,7
@@
EXPORT_SYMBOL_GPL(usb_add_gadget_udc);
static void usb_gadget_remove_driver(struct usb_udc *udc)
{
dev_dbg(&udc->dev, "unregistering UDC driver [%s]\n",
- udc->
gadget->name
);
+ udc->
driver->function
);
kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE);