ACPICA: Namespace: Eliminate dot...dot output during initialization.
authorBob Moore <robert.moore@intel.com>
Mon, 31 Dec 2012 00:07:08 +0000 (00:07 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:22 +0000 (12:36 +0100)
This feature no longer serves any good purpose and also confuses any error
messages during ACPICA initialization.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsinit.c

index 94c1500074c4079e18d8d55c099423f3a417ac4a..59cd5b4ba7e1e7bb2664bf3681ff32b66259c8fa 100644 (file)
@@ -86,7 +86,7 @@ acpi_status acpi_ns_initialize_objects(void)
        ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
                          "**** Starting initialization of namespace objects ****\n"));
        ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
-                             "Completing Region/Field/Buffer/Package initialization:"));
+                             "Completing Region/Field/Buffer/Package initialization:\n"));
 
        /* Set all init info to zero */
 
@@ -102,7 +102,7 @@ acpi_status acpi_ns_initialize_objects(void)
        }
 
        ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
-                             "\nInitialized %u/%u Regions %u/%u Fields %u/%u "
+                             "Initialized %u/%u Regions %u/%u Fields %u/%u "
                              "Buffers %u/%u Packages (%u nodes)\n",
                              info.op_region_init, info.op_region_count,
                              info.field_init, info.field_count,
@@ -149,7 +149,7 @@ acpi_status acpi_ns_initialize_devices(void)
 
        ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
                              "Initializing Device/Processor/Thermal objects "
-                             "by executing _INI methods:"));
+                             "and executing _INI methods:\n"));
 
        /* Tree analysis: find all subtrees that contain _INI methods */
 
@@ -207,7 +207,7 @@ acpi_status acpi_ns_initialize_devices(void)
        }
 
        ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
-                             "\nExecuted %u _INI methods requiring %u _STA executions "
+                             "Executed %u _INI methods requiring %u _STA executions "
                              "(examined %u objects)\n",
                              info.num_INI, info.num_STA, info.device_count));
 
@@ -348,14 +348,6 @@ acpi_ns_init_one_object(acpi_handle obj_handle,
                                acpi_ut_get_type_name(type)));
        }
 
-       /*
-        * Print a dot for each object unless we are going to print the entire
-        * pathname
-        */
-       if (!(acpi_dbg_level & ACPI_LV_INIT_NAMES)) {
-               ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "."));
-       }
-
        /*
         * We ignore errors from above, and always return OK, since we don't want
         * to abort the walk on any single error.
@@ -575,11 +567,6 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
 
        if (ACPI_SUCCESS(status)) {
                walk_info->num_INI++;
-
-               if ((acpi_dbg_level <= ACPI_LV_ALL_EXCEPTIONS) &&
-                   (!(acpi_dbg_level & ACPI_LV_INFO))) {
-                       ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "."));
-               }
        }
 #ifdef ACPI_DEBUG_OUTPUT
        else if (status != AE_NOT_FOUND) {