summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ds620.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-07 01:41:58 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-07 01:41:58 +0100
commita3b1b1ef78cd2ffb5d3a223465064dee05929dc3 (patch)
tree4562daf8598ad8ed1538f61895e9c874780690f2 /drivers/hwmon/ds620.c
parentACPI / hotplug: Make acpi_bus_hot_remove_device() internal (diff)
downloadlinux-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/hwmon/ds620.c')
0 files changed, 0 insertions, 0 deletions