aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/namespace/nsinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/namespace/nsinit.c')
-rw-r--r--drivers/acpi/namespace/nsinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/namespace/nsinit.c b/drivers/acpi/namespace/nsinit.c
index 9aa337c33887..57b2537643c7 100644
--- a/drivers/acpi/namespace/nsinit.c
+++ b/drivers/acpi/namespace/nsinit.c
@@ -424,7 +424,7 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
424 ACPI_WARNING((AE_INFO, "%s._INI failed: %s", 424 ACPI_WARNING((AE_INFO, "%s._INI failed: %s",
425 scope_name, acpi_format_exception(status))); 425 scope_name, acpi_format_exception(status)));
426 426
427 ACPI_MEM_FREE(scope_name); 427 ACPI_FREE(scope_name);
428#endif 428#endif
429 } else { 429 } else {
430 /* Delete any return object (especially if implicit_return is enabled) */ 430 /* Delete any return object (especially if implicit_return is enabled) */