diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 00:41:58 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 00:41:58 (GMT) |
commit | a3b1b1ef78cd2ffb5d3a223465064dee05929dc3 (patch) | |
tree | 4562daf8598ad8ed1538f61895e9c874780690f2 /drivers/acpi/numa.c | |
parent | ace8238b00eafd493b8dbcc7db813ed72b8b6e87 (diff) | |
download | linux-a3b1b1ef78cd2ffb5d3a223465064dee05929dc3.tar.xz |
ACPI / hotplug: Merge device hot-removal routines
There is no real reasn why acpi_bus_device_eject() and
acpi_bus_hot_remove_device() should work differently, so rework
acpi_bus_device_eject() so that it can be called internally by
both acpi_bus_hot_remove_device() and acpi_eject_store_work().
Accordingly, rework acpi_hotplug_notify_cb() to queue up the
execution of acpi_bus_hot_remove_device() through
acpi_os_hotplug_execute() on eject request notifications.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'drivers/acpi/numa.c')
0 files changed, 0 insertions, 0 deletions