From fef71fcebe15b411982b9fbf5c5ea16524652f6a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 11 Dec 2022 20:59:05 +0100 Subject: [PATCH] mb/aopen/dxplplusu/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual (a, b)` with `a == b`. Change-Id: I4fa3942216f1638abeafa0c562f4d6a2a499254b Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70586 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/aopen/dxplplusu/acpi/superio.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/aopen/dxplplusu/acpi/superio.asl b/src/mainboard/aopen/dxplplusu/acpi/superio.asl index b49ef444a1..9f8c6c216a 100644 --- a/src/mainboard/aopen/dxplplusu/acpi/superio.asl +++ b/src/mainboard/aopen/dxplplusu/acpi/superio.asl @@ -139,22 +139,22 @@ Method (_INI, 0, NotSerialized) Method (MLED, 1, NotSerialized) { - If (LEqual (Arg0, 0x00)) + If (Arg0 == 0x00) { Store (0x00, LED1) } - If (LEqual (Arg0, 0x01) || LEqual (Arg0, 0x02)) + If (Arg0 == 0x01 || Arg0 == 0x02) { Store (0x01, LED1) } - If (LEqual (Arg0, 0x03)) + If (Arg0 == 0x03) { Store (0x02, LED1) } - If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05)) + If (Arg0 == 0x04 || Arg0 == 0x05) { Store (0x03, LED1) }