ACPI / hotplug: Simplify device ejection routines
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Nov 2013 00:41:39 +0000 (01:41 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Nov 2013 00:41:39 +0000 (01:41 +0100)
commit5add99cfef416487d32b4b7075fe1a409f3a5e82
tree29553178aac29acea786fa36576c8b6e0f536623
parent2441191a19039002b2c454a261fb45986df15184
ACPI / hotplug: Simplify device ejection routines

Simplify handle_root_bridge_removal() and acpi_eject_store() by
getting rid of struct acpi_eject_event and passing device objects
directly to async routines executed via acpi_os_hotplug_execute().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
drivers/acpi/pci_root.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h