diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-04 00:39:58 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-05 17:40:54 +0100 |
commit | b6708fbf98ac01d27c8d4d7f7b4fa87583b658cc (patch) | |
tree | ae8b0feb88ac0bbe648dc9069611ed78d9bd0b44 /lib/mpi/mpih-cmp.c | |
parent | bbcbfc0eed6220591ccc5752edd079099bb1920c (diff) | |
download | blackbird-op-linux-b6708fbf98ac01d27c8d4d7f7b4fa87583b658cc.tar.gz blackbird-op-linux-b6708fbf98ac01d27c8d4d7f7b4fa87583b658cc.zip |
ACPI / hotplug / PCI: Drop acpiphp_bus_add()
acpiphp_bus_add() is only called from one place, so move the code out
of it into that place and drop it. Also make that code use
func_to_acpi_device() to get the struct acpi_device pointer it needs
instead of calling acpi_bus_get_device() which may be costly.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpih-cmp.c')
0 files changed, 0 insertions, 0 deletions