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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
Yinghai Lu 2013-01-11 22:40:41 +00:00 • committed by Rafael J. Wysocki
commit 5993c4670e
4 changed files with 7 additions and 13 deletions

View file

@ -306,7 +306,7 @@ struct acpi_bus_event {
};
struct acpi_eject_event {
acpi_handle handle;
struct acpi_device *device;
u32 event;
};