|
@@ -464,9 +464,8 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
|
|
|
|
|
|
ACPI_FUNCTION_NAME(ex_dump_operand)
|
|
|
|
|
|
- if (!
|
|
|
- ((ACPI_LV_EXEC & acpi_dbg_level)
|
|
|
- && (_COMPONENT & acpi_dbg_layer))) {
|
|
|
+ /* Check if debug output enabled */
|
|
|
+ if (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_EXEC, _COMPONENT)) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -811,9 +810,10 @@ void acpi_ex_dump_namespace_node(struct acpi_namespace_node *node, u32 flags)
|
|
|
ACPI_FUNCTION_ENTRY();
|
|
|
|
|
|
if (!flags) {
|
|
|
- if (!
|
|
|
- ((ACPI_LV_OBJECTS & acpi_dbg_level)
|
|
|
- && (_COMPONENT & acpi_dbg_layer))) {
|
|
|
+
|
|
|
+ /* Check if debug output enabled */
|
|
|
+
|
|
|
+ if (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_OBJECTS, _COMPONENT)) {
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -999,9 +999,10 @@ acpi_ex_dump_object_descriptor(union acpi_operand_object *obj_desc, u32 flags)
|
|
|
}
|
|
|
|
|
|
if (!flags) {
|
|
|
- if (!
|
|
|
- ((ACPI_LV_OBJECTS & acpi_dbg_level)
|
|
|
- && (_COMPONENT & acpi_dbg_layer))) {
|
|
|
+
|
|
|
+ /* Check if debug output enabled */
|
|
|
+
|
|
|
+ if (!ACPI_IS_DEBUG_ENABLED(ACPI_LV_OBJECTS, _COMPONENT)) {
|
|
|
return_VOID;
|
|
|
}
|
|
|
}
|