aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/namespace/nsutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/namespace/nsutils.c')
-rw-r--r--drivers/acpi/namespace/nsutils.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/acpi/namespace/nsutils.c b/drivers/acpi/namespace/nsutils.c
index 9fa38ffc2e6e..d1d55032b455 100644
--- a/drivers/acpi/namespace/nsutils.c
+++ b/drivers/acpi/namespace/nsutils.c
@@ -241,7 +241,7 @@ static u8 acpi_ns_valid_path_separator(char sep)
241 241
242acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node) 242acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node)
243{ 243{
244 ACPI_FUNCTION_TRACE("ns_get_type"); 244 ACPI_FUNCTION_TRACE(ns_get_type);
245 245
246 if (!node) { 246 if (!node) {
247 ACPI_WARNING((AE_INFO, "Null Node parameter")); 247 ACPI_WARNING((AE_INFO, "Null Node parameter"));
@@ -266,7 +266,7 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node)
266 266
267u32 acpi_ns_local(acpi_object_type type) 267u32 acpi_ns_local(acpi_object_type type)
268{ 268{
269 ACPI_FUNCTION_TRACE("ns_local"); 269 ACPI_FUNCTION_TRACE(ns_local);
270 270
271 if (!acpi_ut_valid_object_type(type)) { 271 if (!acpi_ut_valid_object_type(type)) {
272 272
@@ -366,7 +366,7 @@ acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info)
366 char *result = NULL; 366 char *result = NULL;
367 acpi_native_uint i; 367 acpi_native_uint i;
368 368
369 ACPI_FUNCTION_TRACE("ns_build_internal_name"); 369 ACPI_FUNCTION_TRACE(ns_build_internal_name);
370 370
371 /* Setup the correct prefixes, counts, and pointers */ 371 /* Setup the correct prefixes, counts, and pointers */
372 372
@@ -477,7 +477,7 @@ acpi_status acpi_ns_internalize_name(char *external_name, char **converted_name)
477 struct acpi_namestring_info info; 477 struct acpi_namestring_info info;
478 acpi_status status; 478 acpi_status status;
479 479
480 ACPI_FUNCTION_TRACE("ns_internalize_name"); 480 ACPI_FUNCTION_TRACE(ns_internalize_name);
481 481
482 if ((!external_name) || (*external_name == 0) || (!converted_name)) { 482 if ((!external_name) || (*external_name == 0) || (!converted_name)) {
483 return_ACPI_STATUS(AE_BAD_PARAMETER); 483 return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -537,7 +537,7 @@ acpi_ns_externalize_name(u32 internal_name_length,
537 acpi_native_uint i = 0; 537 acpi_native_uint i = 0;
538 acpi_native_uint j = 0; 538 acpi_native_uint j = 0;
539 539
540 ACPI_FUNCTION_TRACE("ns_externalize_name"); 540 ACPI_FUNCTION_TRACE(ns_externalize_name);
541 541
542 if (!internal_name_length || !internal_name || !converted_name) { 542 if (!internal_name_length || !internal_name || !converted_name) {
543 return_ACPI_STATUS(AE_BAD_PARAMETER); 543 return_ACPI_STATUS(AE_BAD_PARAMETER);
@@ -756,7 +756,7 @@ void acpi_ns_terminate(void)
756{ 756{
757 union acpi_operand_object *obj_desc; 757 union acpi_operand_object *obj_desc;
758 758
759 ACPI_FUNCTION_TRACE("ns_terminate"); 759 ACPI_FUNCTION_TRACE(ns_terminate);
760 760
761 /* 761 /*
762 * 1) Free the entire namespace -- all nodes and objects 762 * 1) Free the entire namespace -- all nodes and objects
@@ -796,7 +796,7 @@ void acpi_ns_terminate(void)
796 796
797u32 acpi_ns_opens_scope(acpi_object_type type) 797u32 acpi_ns_opens_scope(acpi_object_type type)
798{ 798{
799 ACPI_FUNCTION_TRACE_STR("ns_opens_scope", acpi_ut_get_type_name(type)); 799 ACPI_FUNCTION_TRACE_STR(ns_opens_scope, acpi_ut_get_type_name(type));
800 800
801 if (!acpi_ut_valid_object_type(type)) { 801 if (!acpi_ut_valid_object_type(type)) {
802 802
@@ -840,7 +840,7 @@ acpi_ns_get_node_by_path(char *pathname,
840 acpi_status status; 840 acpi_status status;
841 char *internal_path = NULL; 841 char *internal_path = NULL;
842 842
843 ACPI_FUNCTION_TRACE_PTR("ns_get_node_by_path", pathname); 843 ACPI_FUNCTION_TRACE_PTR(ns_get_node_by_path, pathname);
844 844
845 if (pathname) { 845 if (pathname) {
846 846
@@ -966,7 +966,7 @@ acpi_name acpi_ns_find_parent_name(struct acpi_namespace_node * child_node)
966{ 966{
967 struct acpi_namespace_node *parent_node; 967 struct acpi_namespace_node *parent_node;
968 968
969 ACPI_FUNCTION_TRACE("ns_find_parent_name"); 969 ACPI_FUNCTION_TRACE(ns_find_parent_name);
970 970
971 if (child_node) { 971 if (child_node) {
972 972