summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_driver.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2013-01-12 02:40:41 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-15 16:24:59 +0400
commit5993c4670ea2453ef5abb45b312f150e994e6eb9 (patch)
tree5ff0ec317a707caa905dd33d46e66e19b933384d /drivers/acpi/processor_driver.c
parent05404d8f7b5c831e1a2c24bb782f0fe8ea02354c (diff)
downloadlinux-5993c4670ea2453ef5abb45b312f150e994e6eb9.tar.xz
ACPI: update ej_event interface to take acpi_device
Should use acpi_device pointer directly instead of use handle and get the device pointer again later. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
-rw-r--r--drivers/acpi/processor_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index 0777663f443e..a24ee43e06e4 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
@@ -733,7 +733,7 @@ static void acpi_processor_hotplug_notify(acpi_handle handle,
break;
}
- ej_event->handle = handle;
+ ej_event->device = device;
ej_event->event = ACPI_NOTIFY_EJECT_REQUEST;
acpi_os_hotplug_execute(acpi_bus_hot_remove_device,
(void *)ej_event);