usb: gadget: udc: dummy: remove bind/unbind messages
authorFelipe Balbi <balbi@ti.com>
Fri, 17 Oct 2014 16:37:38 +0000 (11:37 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:13 +0000 (10:01 -0600)
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>
drivers/usb/gadget/udc/dummy_hcd.c

index 32bdd788c05aee57affd05f1623809882e5433d7..5c72ade61aa67ae9770812c5b4baada57eb11c76 100644 (file)
@@ -908,10 +908,8 @@ static int dummy_udc_start(struct usb_gadget *g,
         */
 
        dum->devstatus = 0;
-
        dum->driver = driver;
-       dev_dbg(udc_dev(dum), "binding gadget driver '%s'\n",
-                       driver->driver.name);
+
        return 0;
 }
 
@@ -921,9 +919,6 @@ static int dummy_udc_stop(struct usb_gadget *g,
        struct dummy_hcd        *dum_hcd = gadget_to_dummy_hcd(g);
        struct dummy            *dum = dum_hcd->dum;
 
-       dev_dbg(udc_dev(dum), "unregister gadget driver '%s'\n",
-                       dum->driver->driver.name);
-
        dum->driver = NULL;
 
        return 0;