usb: gadget: udc: net2280: remove bind/unbind messages
authorFelipe Balbi <balbi@ti.com>
Fri, 17 Oct 2014 16:40:05 +0000 (11:40 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:15 +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/net2280.c

index ee74b9dfb757a0e7b408a8797608ff5b4165d992..a30df8efa2d895491036b0f03f73b114b7cfbcc4 100644 (file)
@@ -2397,11 +2397,6 @@ static int net2280_start(struct usb_gadget *_gadget,
 
        ep0_start(dev);
 
-       ep_dbg(dev, "%s ready, usbctl %08x stdrsp %08x\n",
-                       driver->driver.name,
-                       readl(&dev->usb->usbctl),
-                       readl(&dev->usb->stdrsp));
-
        /* pci writes may still be posted */
        return 0;
 
@@ -2458,7 +2453,6 @@ static int net2280_stop(struct usb_gadget *_gadget,
        device_remove_file(&dev->pdev->dev, &dev_attr_function);
        device_remove_file(&dev->pdev->dev, &dev_attr_queues);
 
-       ep_dbg(dev, "unregistered driver '%s'\n", dev->driver->driver.name);
        dev->driver = NULL;
 
        return 0;