diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 01:41:58 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-07 01:41:58 +0100 |
commit | a3b1b1ef78cd2ffb5d3a223465064dee05929dc3 (patch) | |
tree | 4562daf8598ad8ed1538f61895e9c874780690f2 /drivers/irqchip | |
parent | ACPI / hotplug: Make acpi_bus_hot_remove_device() internal (diff) | |
download | linux-a3b1b1ef78cd2ffb5d3a223465064dee05929dc3.tar.xz linux-a3b1b1ef78cd2ffb5d3a223465064dee05929dc3.zip |
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/irqchip')
0 files changed, 0 insertions, 0 deletions