Skip to content

Commit

Permalink
usb: gadget: udc: net2280: 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 812a40b commit 1ca12b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/usb/gadget/udc/net2280.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1ca12b2

Please sign in to comment.