]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit201bd270642fcedf054df84c2c6c9f5c866a2fa4
tree29553178aac29acea786fa36576c8b6e0f536623
parent59b36a7d70bec6e8aed0e6631d5010f68879e92f
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