Home
last modified time | relevance | path

Searched hist:a3b1b1ef78cd2ffb5d3a223465064dee05929dc3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dscan.cdiff a3b1b1ef78cd2ffb5d3a223465064dee05929dc3 Wed Nov 06 18:41:58 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> 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>