commit | b6708fbf98ac01d27c8d4d7f7b4fa87583b658cc | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Feb 04 00:39:58 2014 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Feb 05 17:40:54 2014 +0100 |
tree | ae8b0feb88ac0bbe648dc9069611ed78d9bd0b44 | |
parent | bbcbfc0eed6220591ccc5752edd079099bb1920c [diff] |
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>