aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-06 19:41:39 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-06 19:41:39 -0500
commit5add99cfef416487d32b4b7075fe1a409f3a5e82 (patch)
tree29553178aac29acea786fa36576c8b6e0f536623 /include/acpi
parent2441191a19039002b2c454a261fb45986df15184 (diff)
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>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi_bus.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 02e113bb8b7d..06b644ca052c 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -339,11 +339,6 @@ struct acpi_bus_event {
339 u32 data; 339 u32 data;
340}; 340};
341 341
342struct acpi_eject_event {
343 struct acpi_device *device;
344 u32 event;
345};
346
347struct acpi_hp_work { 342struct acpi_hp_work {
348 struct work_struct work; 343 struct work_struct work;
349 acpi_handle handle; 344 acpi_handle handle;