PCI/PM: Remove pci_pm_complete()
authorLiu Chuansheng <chuansheng.liu@intel.com>
Mon, 7 Oct 2013 21:29:27 +0000 (15:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Oct 2013 21:29:27 +0000 (15:29 -0600)
commit84822b158fd3fc7d9f9c67f1b26a1e007880e13c
tree07226f328cacfe88b114a2fc8e5bf8248ef53e98
parentc489f5fbb1f5a770f98e492af5c47befb32890cd
PCI/PM: Remove pci_pm_complete()

88d26136 ("PM: Prevent runtime suspend during system resume") removed the
pm_runtime_put_sync() from pci_pm_complete() to PM core code
device_complete().

Here the pci_pm_complete() is doing the same work which can be done in
device_complete(), so we can remove it directly.

Signed-off-by: Liu Chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci-driver.c