PCI: shpchp: Remove get_hp_hw_control_from_firmware() wrapper
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 24 May 2018 20:10:21 +0000 (15:10 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 2 Jun 2018 05:18:28 +0000 (00:18 -0500)
commit96a621e01a42dc53848e2e4915fd807ebc1fc82f
tree159ed53677ea087828c78c80e046babbb02b5d26
parent6f77fa4941aac0fa721eef5fe61820a4c314fffb
PCI: shpchp: Remove get_hp_hw_control_from_firmware() wrapper

get_hp_hw_control_from_firmware() is a trivial wrapper around
acpi_get_hp_hw_control_from_firmware(), probably intended to be generic in
case other firmware needed similar OS/platform negotiation.

Remove get_hp_hw_control_from_firmware() and call
acpi_get_hp_hw_control_from_firmware() directly.  Add a stub for
acpi_get_hp_hw_control_from_firmware() for the non-ACPI case.

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