提交 5cb7d561 编写于 作者: M Matthijs Kooijman 提交者: Greg Kroah-Hartman

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: NMatthijs Kooijman <matthijs@stdin.nl>
Acked-by: NPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 90dbceaf
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册