staging: dwc2: remove some useless debug prints
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 29 Apr 2013 19:50:35 +0000 (19:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:23:58 +0000 (15:23 -0700)
This removes some debug prints from pci.c and makes platform.c and pci.c
a bit more similar again.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/pci.c

index 12ae24b..bbd3a1c 100644 (file)
@@ -101,8 +101,6 @@ static void dwc2_driver_remove(struct pci_dev *dev)
 {
        struct dwc2_hsotg *hsotg = pci_get_drvdata(dev);
 
-       dev_dbg(&dev->dev, "%s(%p)\n", __func__, dev);
-
        dwc2_hcd_remove(hsotg);
        pci_disable_device(dev);
 }
@@ -125,8 +123,6 @@ static int dwc2_driver_probe(struct pci_dev *dev,
        struct dwc2_hsotg *hsotg;
        int retval;
 
-       dev_dbg(&dev->dev, "%s(%p)\n", __func__, dev);
-
        hsotg = devm_kzalloc(&dev->dev, sizeof(*hsotg), GFP_KERNEL);
        if (!hsotg)
                return -ENOMEM;
@@ -153,7 +149,6 @@ static int dwc2_driver_probe(struct pci_dev *dev,
        }
 
        pci_set_drvdata(dev, hsotg);
-       dev_dbg(&dev->dev, "hsotg=%p\n", hsotg);
 
        return retval;
 }