diff options
author | Felipe Balbi <balbi@ti.com> | 2014-10-17 11:54:46 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:01:16 -0600 |
commit | 8da9fe8af8e3fd953b346c800976a5db6c0115a4 (patch) | |
tree | 8c14ec732dac0215473d829f2062756239c05772 /drivers/usb/gadget/udc | |
parent | fae5afb98d88108a188e57c035834e3fc2bdbf80 (diff) | |
download | op-kernel-dev-8da9fe8af8e3fd953b346c800976a5db6c0115a4.zip op-kernel-dev-8da9fe8af8e3fd953b346c800976a5db6c0115a4.tar.gz |
usb: gadget: udc: core: fix unregistering message
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>
Diffstat (limited to 'drivers/usb/gadget/udc')
-rw-r--r-- | drivers/usb/gadget/udc/udc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/udc-core.c b/drivers/usb/gadget/udc/udc-core.c index 3fed7a2..52f457b 100644 --- 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); |