Skip to content

Commit

Permalink
usb: gadget: udc: s3c-hsudc: 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 1ca12b2 commit 6ce372f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/gadget/udc/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1172,8 +1172,6 @@ static int s3c_hsudc_start(struct usb_gadget *gadget,
}

enable_irq(hsudc->irq);
dev_info(hsudc->dev, "bound driver %s\n", driver->driver.name);

s3c_hsudc_reconfig(hsudc);

pm_runtime_get_sync(hsudc->dev);
Expand Down Expand Up @@ -1216,9 +1214,6 @@ static int s3c_hsudc_stop(struct usb_gadget *gadget,
disable_irq(hsudc->irq);

regulator_bulk_disable(ARRAY_SIZE(hsudc->supplies), hsudc->supplies);

dev_info(hsudc->dev, "unregistered gadget driver '%s'\n",
hsudc->driver->driver.name);
hsudc->driver = NULL;

return 0;
Expand Down

0 comments on commit 6ce372f

Please sign in to comment.