Skip to content

Commit

Permalink
usb: gadget: udc: core: fix unregistering message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi committed Nov 3, 2014
1 parent fae5afb commit 8da9fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/udc/udc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8da9fe8

Please sign in to comment.