Commit 8da9fe8a authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <balbi@ti.com>
parent fae5afb9
...@@ -325,7 +325,7 @@ EXPORT_SYMBOL_GPL(usb_add_gadget_udc); ...@@ -325,7 +325,7 @@ EXPORT_SYMBOL_GPL(usb_add_gadget_udc);
static void usb_gadget_remove_driver(struct usb_udc *udc) static void usb_gadget_remove_driver(struct usb_udc *udc)
{ {
dev_dbg(&udc->dev, "unregistering UDC driver [%s]\n", dev_dbg(&udc->dev, "unregistering UDC driver [%s]\n",
udc->gadget->name); udc->driver->function);
kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE); kobject_uevent(&udc->dev.kobj, KOBJ_CHANGE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment