]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/PM: Remove unused pcibios_pm_ops
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Thu, 30 Jul 2020 19:44:16 +0000 (01:14 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Sep 2020 19:21:45 +0000 (14:21 -0500)
commite9edfe0c45f73db25456b4ba6a24c5593c1b7c23
treeef0fd423f5812ab44102749b88277be882199940
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
PCI/PM: Remove unused pcibios_pm_ops

The "struct dev_pm_ops pcibios_pm_ops", declared in include/linux/pci.h and
defined in drivers/pci/pci-driver.c, provided arch-specific hooks when a
PCI device was doing a hibernate transition.

f5b114f6d22e ("s390: remove broken hibernate / power management support")
removed the last use of pcibios_pm_ops, so remove it completely.

[bhelgaas: drop unused "error"]
Link: https://lore.kernel.org/r/20200730194416.1029509-1-vaibhavgupta40@gmail.com
Reported-by: Bjorn Helgaas <helgaas@kernel.org>
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-driver.c
include/linux/pci.h