diff options
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 | } |