diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 04:41:39 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 04:41:39 +0400 |
commit | 5add99cfef416487d32b4b7075fe1a409f3a5e82 (patch) | |
tree | 29553178aac29acea786fa36576c8b6e0f536623 /include/acpi | |
parent | 2441191a19039002b2c454a261fb45986df15184 (diff) | |
download | linux-5add99cfef416487d32b4b7075fe1a409f3a5e82.tar.xz |
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.h | 5 |
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 { u32 data; }; -struct acpi_eject_event { - struct acpi_device *device; - u32 event; -}; - struct acpi_hp_work { struct work_struct work; acpi_handle handle; |