diff options
author | Len Brown <len.brown@intel.com> | 2006-06-30 20:07:01 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 20:07:01 -0400 |
commit | ba290ab7dace8b3339c0cc86c221d48eed21e956 (patch) | |
tree | b2e5d1e96b2799cd13010b140ffabd43e8f04963 /drivers/acpi/scan.c | |
parent | 9262e9149f346a5443300f8c451b8e7631e81a42 (diff) | |
parent | 02438d8771ae6a4b215938959827692026380bf9 (diff) |
Pull kmalloc into release branch
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 861ac378ce4..5fcb50c7b77 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -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) |