mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
05404d8f7b
commit
5993c4670e
4 changed files with 7 additions and 13 deletions
|
|
@ -306,7 +306,7 @@ struct acpi_bus_event {
|
|||
};
|
||||
|
||||
struct acpi_eject_event {
|
||||
acpi_handle handle;
|
||||
struct acpi_device *device;
|
||||
u32 event;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue