PCI / PM: Simplify device wakeup settings code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jun 2017 23:57:35 +0000 (01:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Jun 2017 23:52:45 +0000 (01:52 +0200)
commit0847684cfc5f0e9f009919bfdcb041d60e19b856
tree0a0593338927f228215feb19f938e71023607c24
parent8370c2dc4c7b91be7e1231130f0ae08b5aebecf4
PCI / PM: Simplify device wakeup settings code

After previous changes it is not necessary to distinguish between
device wakeup for run time and device wakeup from system sleep states
any more, so rework the PCI device wakeup settings code accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c
drivers/pci/pci-driver.c
drivers/pci/pci-mid.c
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h