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>
Šī revīzija ir iekļauta:
@@ -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;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user