mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPI: delete acpi_os_free(), use kfree() directly
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
d120cfb544
commit
02438d8771
19 changed files with 36 additions and 45 deletions
|
|
@ -726,7 +726,7 @@
|
|||
|
||||
#define ACPI_ALLOCATE(a) acpi_ut_allocate((acpi_size)(a),_COMPONENT,_acpi_module_name,__LINE__)
|
||||
#define ACPI_ALLOCATE_ZEROED(a) acpi_ut_allocate_zeroed((acpi_size)(a), _COMPONENT,_acpi_module_name,__LINE__)
|
||||
#define ACPI_FREE(a) acpi_os_free(a)
|
||||
#define ACPI_FREE(a) kfree(a)
|
||||
#define ACPI_MEM_TRACKING(a)
|
||||
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -143,8 +143,6 @@ void acpi_os_release_mutex(acpi_mutex handle);
|
|||
*/
|
||||
void *acpi_os_allocate(acpi_size size);
|
||||
|
||||
void acpi_os_free(void *memory);
|
||||
|
||||
acpi_status
|
||||
acpi_os_map_memory(acpi_physical_address physical_address,
|
||||
acpi_size size, void __iomem ** logical_address);
|
||||
|
|
|
|||
Loading…
Reference in a new issue