From 01c02a8c545fa66ce06488d51687ca342a27b85c Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 16:56:20 +0000 Subject: [PATCH] Deployed new UtGetObjectTypeName function. Fully deployed use of ACPI_GET_OBJECT_TYPE macro for consistency. date 2002.06.07.21.28.00; author rmoore1; state Exp; --- source/components/hardware/hwregs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/components/hardware/hwregs.c b/source/components/hardware/hwregs.c index d12efbef9..f241520a7 100644 --- a/source/components/hardware/hwregs.c +++ b/source/components/hardware/hwregs.c @@ -3,7 +3,7 @@ * * Module Name: hwregs - Read/write access functions for the various ACPI * control and status registers. - * $Revision: 1.132 $ + * $Revision: 1.133 $ * ******************************************************************************/ @@ -276,8 +276,8 @@ AcpiGetSleepTypeData ( (ACPI_GET_OBJECT_TYPE (ObjDesc->Package.Elements[1]) != ACPI_TYPE_INTEGER)) { ACPI_REPORT_ERROR (("Sleep State package elements are not both Integers (%s, %s)\n", - AcpiUtGetTypeName (ACPI_GET_OBJECT_TYPE (ObjDesc->Package.Elements[0])), - AcpiUtGetTypeName (ACPI_GET_OBJECT_TYPE (ObjDesc->Package.Elements[1])))); + AcpiUtGetObjectTypeName (ObjDesc->Package.Elements[0]), + AcpiUtGetObjectTypeName (ObjDesc->Package.Elements[1]))); Status = AE_AML_OPERAND_TYPE; } else @@ -292,7 +292,7 @@ AcpiGetSleepTypeData ( if (ACPI_FAILURE (Status)) { ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Bad Sleep object %p type %s\n", - ObjDesc, AcpiUtGetTypeName (ObjDesc->Common.Type))); + ObjDesc, AcpiUtGetObjectTypeName (ObjDesc))); } AcpiUtRemoveReference (ObjDesc);