public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB: phy: tahvo:remove unnecessary debug log
@ 2021-09-24  8:38 Zhiwei Yang
  2021-09-24 10:04 ` Sergey Shtylyov
  2021-09-24 10:23 ` Felipe Balbi
  0 siblings, 2 replies; 4+ messages in thread
From: Zhiwei Yang @ 2021-09-24  8:38 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman; +Cc: linux-usb, Zhiwei Yang

Remove the debug info which should be instead with ftrace

Signed-off-by: Zhiwei Yang <yangzhiwei@uniontech.com>
---
 drivers/usb/phy/phy-tahvo.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/phy/phy-tahvo.c b/drivers/usb/phy/phy-tahvo.c
index 5dc600fadc5f..468151496d23 100644
--- a/drivers/usb/phy/phy-tahvo.c
+++ b/drivers/usb/phy/phy-tahvo.c
@@ -194,8 +194,6 @@ static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host)
 	struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb,
 					    phy);
 
-	dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, host);
-
 	mutex_lock(&tu->serialize);
 
 	if (host == NULL) {
@@ -224,8 +222,6 @@ static int tahvo_usb_set_peripheral(struct usb_otg *otg,
 	struct tahvo_usb *tu = container_of(otg->usb_phy, struct tahvo_usb,
 					    phy);
 
-	dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, gadget);
-
 	mutex_lock(&tu->serialize);
 
 	if (!gadget) {
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-24 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24  8:38 [PATCH] USB: phy: tahvo:remove unnecessary debug log Zhiwei Yang
2021-09-24 10:04 ` Sergey Shtylyov
2021-09-24 10:23 ` Felipe Balbi
2021-09-24 10:28   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox