aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/asus_acpi.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-30 03:19:10 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 03:19:10 -0400
commit02438d8771ae6a4b215938959827692026380bf9 (patch)
treecae56539e00a35770c36a1f9c03eebe65d1e9186 /drivers/acpi/asus_acpi.c
parentd120cfb544ed6161b9d32fb6c4648c471807ee6b (diff)
ACPI: delete acpi_os_free(), use kfree() directly
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-rw-r--r--drivers/acpi/asus_acpi.c6
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}