aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-30 03:19:10 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 03:19:10 -0400
commit02438d8771ae6a4b215938959827692026380bf9 (patch)
treecae56539e00a35770c36a1f9c03eebe65d1e9186 /drivers/acpi/osl.c
parentd120cfb544ed6161b9d32fb6c4648c471807ee6b (diff)
ACPI: delete acpi_os_free(), use kfree() directly
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index afd937b158b3..c68b1bb138c3 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -147,13 +147,6 @@ void *acpi_os_allocate(acpi_size size)
147 return kmalloc(size, GFP_KERNEL); 147 return kmalloc(size, GFP_KERNEL);
148} 148}
149 149
150void acpi_os_free(void *ptr)
151{
152 kfree(ptr);
153}
154
155EXPORT_SYMBOL(acpi_os_free);
156
157acpi_status acpi_os_get_root_pointer(u32 flags, struct acpi_pointer *addr) 150acpi_status acpi_os_get_root_pointer(u32 flags, struct acpi_pointer *addr)
158{ 151{
159 if (efi_enabled) { 152 if (efi_enabled) {
@@ -743,7 +736,7 @@ acpi_status acpi_os_delete_semaphore(acpi_handle handle)
743 736
744 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Deleting semaphore[%p].\n", handle)); 737 ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Deleting semaphore[%p].\n", handle));
745 738
746 acpi_os_free(sem); 739 kfree(sem);
747 sem = NULL; 740 sem = NULL;
748 741
749 return AE_OK; 742 return AE_OK;