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: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
90dbceafe8
commit
5cb7d56119
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue