]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pci/pci-acpi.c
Merge tag 'pci-v3.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[karo-tx-linux.git] / drivers / pci / pci-acpi.c
index c685ff5e12d24c9bcfbf4969fe75cf0ef4e89e11..39c937f9b426ef392e3820ee2c7f69e128da403e 100644 (file)
@@ -308,7 +308,6 @@ static void pci_acpi_setup(struct device *dev)
        acpi_handle handle = ACPI_HANDLE(dev);
        struct acpi_device *adev;
 
-       acpi_power_resource_register_device(dev, handle);
        if (acpi_bus_get_device(handle, &adev) || !adev->wakeup.flags.valid)
                return;
 
@@ -330,7 +329,6 @@ static void pci_acpi_cleanup(struct device *dev)
                device_set_run_wake(dev, false);
                pci_acpi_remove_pm_notifier(adev);
        }
-       acpi_power_resource_unregister_device(dev, handle);
 }
 
 static struct acpi_bus_type acpi_pci_bus = {