summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpih-cmp.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-04 00:39:58 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-05 17:40:54 +0100
commitb6708fbf98ac01d27c8d4d7f7b4fa87583b658cc (patch)
treeae8b0feb88ac0bbe648dc9069611ed78d9bd0b44 /lib/mpi/mpih-cmp.c
parentbbcbfc0eed6220591ccc5752edd079099bb1920c (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud