ACPI: delete acpi_os_free(), use kfree() directly

Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Len Brown
2006-06-30 03:19:10 -04:00
parent d120cfb544
commit 02438d8771
19 changed files with 36 additions and 45 deletions

View File

@@ -319,7 +319,7 @@ static int acpi_bus_get_wakeup_device_flags(struct acpi_device *device)
goto end;
}
acpi_os_free(buffer.pointer);
kfree(buffer.pointer);
device->wakeup.flags.valid = 1;
/* Power button, Lid switch always enable wakeup */
@@ -854,7 +854,7 @@ static void acpi_device_set_id(struct acpi_device *device,
printk(KERN_ERR "Memory allocation error\n");
}
acpi_os_free(buffer.pointer);
kfree(buffer.pointer);
}
static int acpi_device_set_context(struct acpi_device *device, int type)