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/asus_acpi.c | |
parent | 9262e9149f346a5443300f8c451b8e7631e81a42 (diff) | |
parent | 02438d8771ae6a4b215938959827692026380bf9 (diff) |
Pull kmalloc into release branch
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 055cfd5c8766..eb0b8fb837c6 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -1017,7 +1017,7 @@ static int asus_hotk_get_info(void) | |||
1017 | } | 1017 | } |
1018 | hotk->methods = &model_conf[hotk->model]; | 1018 | hotk->methods = &model_conf[hotk->model]; |
1019 | 1019 | ||
1020 | acpi_os_free(model); | 1020 | kfree(model); |
1021 | 1021 | ||
1022 | return AE_OK; | 1022 | return AE_OK; |
1023 | } | 1023 | } |
@@ -1096,7 +1096,7 @@ static int asus_hotk_get_info(void) | |||
1096 | /* S1300A reports L84F, but L1400B too, account for that */ | 1096 | /* S1300A reports L84F, but L1400B too, account for that */ |
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | acpi_os_free(model); | 1099 | kfree(model); |
1100 | 1100 | ||
1101 | return AE_OK; | 1101 | return AE_OK; |
1102 | } | 1102 | } |
@@ -1256,7 +1256,7 @@ static void __exit asus_acpi_exit(void) | |||
1256 | acpi_bus_unregister_driver(&asus_hotk_driver); | 1256 | acpi_bus_unregister_driver(&asus_hotk_driver); |
1257 | remove_proc_entry(PROC_ASUS, acpi_root_dir); | 1257 | remove_proc_entry(PROC_ASUS, acpi_root_dir); |
1258 | 1258 | ||
1259 | acpi_os_free(asus_info); | 1259 | kfree(asus_info); |
1260 | 1260 | ||
1261 | return; | 1261 | return; |
1262 | } | 1262 | } |