static int intel_lpss_acpi_remove(struct platform_device *pdev) { intel_lpss_remove(&pdev->dev); pm_runtime_disable(&pdev->dev); return 0; }
static void intel_lpss_pci_remove(struct pci_dev *pdev) { pm_runtime_forbid(&pdev->dev); pm_runtime_get_sync(&pdev->dev); intel_lpss_remove(&pdev->dev); }