diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-06 19:41:39 -0500 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-06 19:41:39 -0500 |
| commit | 5add99cfef416487d32b4b7075fe1a409f3a5e82 (patch) | |
| tree | 29553178aac29acea786fa36576c8b6e0f536623 /include/acpi/acpi_bus.h | |
| parent | 2441191a19039002b2c454a261fb45986df15184 (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/acpi_bus.h')
| -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 { | |||
| 339 | u32 data; | 339 | u32 data; |
| 340 | }; | 340 | }; |
| 341 | 341 | ||
| 342 | struct acpi_eject_event { | ||
| 343 | struct acpi_device *device; | ||
| 344 | u32 event; | ||
| 345 | }; | ||
| 346 | |||
| 347 | struct acpi_hp_work { | 342 | struct acpi_hp_work { |
| 348 | struct work_struct work; | 343 | struct work_struct work; |
| 349 | acpi_handle handle; | 344 | acpi_handle handle; |
