|
@@ -8195,9 +8195,6 @@ static void rtl_shutdown(struct pci_dev *pdev)
|
|
|
{
|
|
{
|
|
|
struct net_device *dev = pci_get_drvdata(pdev);
|
|
struct net_device *dev = pci_get_drvdata(pdev);
|
|
|
struct rtl8169_private *tp = netdev_priv(dev);
|
|
struct rtl8169_private *tp = netdev_priv(dev);
|
|
|
- struct device *d = &pdev->dev;
|
|
|
|
|
-
|
|
|
|
|
- pm_runtime_get_sync(d);
|
|
|
|
|
|
|
|
|
|
rtl8169_net_suspend(dev);
|
|
rtl8169_net_suspend(dev);
|
|
|
|
|
|
|
@@ -8215,8 +8212,6 @@ static void rtl_shutdown(struct pci_dev *pdev)
|
|
|
pci_wake_from_d3(pdev, true);
|
|
pci_wake_from_d3(pdev, true);
|
|
|
pci_set_power_state(pdev, PCI_D3hot);
|
|
pci_set_power_state(pdev, PCI_D3hot);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- pm_runtime_put_noidle(d);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static void rtl_remove_one(struct pci_dev *pdev)
|
|
static void rtl_remove_one(struct pci_dev *pdev)
|