Commit 5cb7d561 authored by Matthijs Kooijman's avatar Matthijs Kooijman Committed by Greg Kroah-Hartman
Browse files

staging: dwc2: remove some useless debug prints



This removes some debug prints from pci.c and makes platform.c and pci.c
a bit more similar again.

Signed-off-by: default avatarMatthijs Kooijman <matthijs@stdin.nl>
Acked-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90dbceaf
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;
}