USB: phy: tahvo:remove unnecessary debug log
authorZhiwei Yang <yangzhiwei@uniontech.com>
Fri, 24 Sep 2021 08:38:52 +0000 (16:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:51:07 +0000 (12:51 +0200)
Remove the debug info which should be instead with ftrace

Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Zhiwei Yang <yangzhiwei@uniontech.com>
Link: https://lore.kernel.org/r/20210924083852.6029-1-yangzhiwei@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-tahvo.c

index a3e043e3e4aaeb2cb6996cfb551798cd181bec97..f2d2cc586c5b7b301ec912022f47d4ab9e2c6319 100644 (file)
@@ -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) {