Skip to content

Commit

Permalink
usb: musb: gadget: remove bind/unbind messages
Browse files Browse the repository at this point in the history
now that we provide generic register/unregister
debugging messages from udc-core, we can remove
the same messages from this driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Nov 3, 2014
1 parent 6ce372f commit fae5afb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1851,8 +1851,6 @@ static int musb_gadget_start(struct usb_gadget *g,

pm_runtime_get_sync(musb->controller);

dev_dbg(musb->controller, "registering driver %s\n", driver->function);

musb->softconnect = 0;
musb->gadget_driver = driver;

Expand Down Expand Up @@ -1949,9 +1947,6 @@ static int musb_gadget_stop(struct usb_gadget *g,
stop_activity(musb, NULL);
otg_set_peripheral(musb->xceiv->otg, NULL);

dev_dbg(musb->controller, "unregistering driver %s\n",
musb->gadget_driver->function);

musb->is_active = 0;
musb->gadget_driver = NULL;
musb_platform_try_idle(musb, 0);
Expand Down

0 comments on commit fae5afb

Please sign in to comment.