From c1913705accb65684f8c370f651a403ac2f1fa66 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 11 Dec 2022 21:01:06 +0100 Subject: mb/lenovo/s230u/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual (a, b)` with `a == b`. Change-Id: I710d9c8c767a688f423d5a7e3e2708eb6aef11fc Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/70587 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/s230u/acpi/gpe.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/lenovo/s230u/acpi/gpe.asl b/src/mainboard/lenovo/s230u/acpi/gpe.asl index 8124ec72c7..76461f619d 100644 --- a/src/mainboard/lenovo/s230u/acpi/gpe.asl +++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl @@ -7,7 +7,7 @@ Scope (_GPE) ShiftLeft (Arg0, Arg1, Local0) Not( ShiftLeft (One, Arg1), Local1) Or (Local0, And (Local1, PDET), PDET) - If (LEqual (PDET, Zero)) { + If (PDET == Zero) { // Palm removed \_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1) } Else { @@ -18,7 +18,7 @@ Scope (_GPE) Method (TINV, 2, Serialized) { ShiftLeft (One, Arg1, Local0) - If (LEqual (Arg0, Zero)) { + If (Arg0 == Zero) { Not (Local0, Local0) And (GIV0, Local0, GIV0) } Else { -- cgit v1.2.3