summaryrefslogtreecommitdiff
path: root/drivers/acpi/battery.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-07-01 04:07:01 +0400
committerLen Brown <len.brown@intel.com>2006-07-01 04:07:01 +0400
commitba290ab7dace8b3339c0cc86c221d48eed21e956 (patch)
treeb2e5d1e96b2799cd13010b140ffabd43e8f04963 /drivers/acpi/battery.c
parent9262e9149f346a5443300f8c451b8e7631e81a42 (diff)
parent02438d8771ae6a4b215938959827692026380bf9 (diff)
downloadlinux-ba290ab7dace8b3339c0cc86c221d48eed21e956.tar.xz
Pull kmalloc into release branch
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r--drivers/acpi/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index 00b0728efe82..7d92f73b265f 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -171,7 +171,7 @@ acpi_battery_get_info(struct acpi_battery *battery,
}
end:
- acpi_os_free(buffer.pointer);
+ kfree(buffer.pointer);
if (!result)
(*bif) = (struct acpi_battery_info *)data.pointer;
@@ -231,7 +231,7 @@ acpi_battery_get_status(struct acpi_battery *battery,
}
end:
- acpi_os_free(buffer.pointer);
+ kfree(buffer.pointer);
if (!result)
(*bst) = (struct acpi_battery_status *)data.pointer;