mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPI: osl.c: replace return_ACPI_STATUS with return
return_ACPI_STATUS is an internal acpica function, replace it with return. acpi_gbl_permanent_mmap moved from acglobal.h to acpixf.h for external use Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
9b02d6e198
commit
889c78be9e
3 changed files with 4 additions and 3 deletions
|
|
@ -726,7 +726,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type,
|
|||
|
||||
dpc = kmalloc(sizeof(struct acpi_os_dpc), GFP_ATOMIC);
|
||||
if (!dpc)
|
||||
return_ACPI_STATUS(AE_NO_MEMORY);
|
||||
return AE_NO_MEMORY;
|
||||
|
||||
dpc->function = function;
|
||||
dpc->context = context;
|
||||
|
|
@ -747,7 +747,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type,
|
|||
status = AE_ERROR;
|
||||
kfree(dpc);
|
||||
}
|
||||
return_ACPI_STATUS(status);
|
||||
return status;
|
||||
}
|
||||
|
||||
acpi_status acpi_os_execute(acpi_execute_type type,
|
||||
|
|
|
|||
Loading…
Reference in a new issue