summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp_ebda.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-04 00:38:52 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-05 17:40:34 +0100
commit4dc3082dc1dd1415177d71f15d4b19bebb1365c0 (patch)
tree263be780eed03e3f933c0ec0f1ed4017f3d507fe /drivers/pci/hotplug/ibmphp_ebda.c
parent146fc68a4bdd78e49d56f1530f6b8072034cf3ef (diff)
ACPI / hotplug / PCI: Drop acpiphp_bus_trim()
If trim_stale_devices() calls acpi_bus_trim() directly, we can save a potentially costly acpi_bus_get_device() invocation. After making that change acpiphp_bus_trim() would only be called from one place, so move the code from it to that place and drop it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_ebda.c')
0 files changed, 0 insertions, 0 deletions