From: Rafael J. Wysocki Date: Thu, 7 Nov 2013 00:41:58 +0000 (+0100) Subject: ACPI / hotplug: Merge device hot-removal routines X-Git-Tag: v3.13-rc1~96^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b1b1ef78cd;p=pandora-kernel.git 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 Acked-by: Toshi Kani --- Reading git-diff-tree failed