diff options
author | Len Brown <len.brown@intel.com> | 2006-06-30 03:19:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 03:19:10 -0400 |
commit | 02438d8771ae6a4b215938959827692026380bf9 (patch) | |
tree | cae56539e00a35770c36a1f9c03eebe65d1e9186 /drivers/acpi/acpi_memhotplug.c | |
parent | d120cfb544ed6161b9d32fb6c4648c471807ee6b (diff) |
ACPI: delete acpi_os_free(), use kfree() directly
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_memhotplug.c')
-rw-r--r-- | drivers/acpi/acpi_memhotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index 6f5e395c78af..2c626e81a289 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c | |||
@@ -466,7 +466,7 @@ static acpi_status is_memory_device(acpi_handle handle) | |||
466 | 466 | ||
467 | info = buffer.pointer; | 467 | info = buffer.pointer; |
468 | if (!(info->valid & ACPI_VALID_HID)) { | 468 | if (!(info->valid & ACPI_VALID_HID)) { |
469 | acpi_os_free(buffer.pointer); | 469 | kfree(buffer.pointer); |
470 | return AE_ERROR; | 470 | return AE_ERROR; |
471 | } | 471 | } |
472 | 472 | ||
@@ -475,7 +475,7 @@ static acpi_status is_memory_device(acpi_handle handle) | |||
475 | (strcmp(hardware_id, ACPI_MEMORY_DEVICE_HID))) | 475 | (strcmp(hardware_id, ACPI_MEMORY_DEVICE_HID))) |
476 | status = AE_ERROR; | 476 | status = AE_ERROR; |
477 | 477 | ||
478 | acpi_os_free(buffer.pointer); | 478 | kfree(buffer.pointer); |
479 | return status; | 479 | return status; |
480 | } | 480 | } |
481 | 481 | ||