summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-10-17 11:41:33 -0500
committerFelipe Balbi <balbi@ti.com>2014-11-03 10:01:15 -0600
commitfae5afb98d88108a188e57c035834e3fc2bdbf80 (patch)
tree430bcfed0816e30d42a5ad7e7e51764b7d1dcf0a /drivers/usb
parent6ce372fed2cb67a7e27400b0c96df161189e0407 (diff)
downloadlinux-fae5afb98d88108a188e57c035834e3fc2bdbf80.tar.bz2
usb: musb: gadget: remove bind/unbind messages
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_gadget.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index fdb8b3111b5a..88d63e0c79f5 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -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;
@@ -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);