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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70587
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/lenovo/s230u/acpi/gpe.asl b/src/mainboard/lenovo/s230u/acpi/gpe.asl
index 8124ec7..76461f6 100644
--- a/src/mainboard/lenovo/s230u/acpi/gpe.asl
+++ b/src/mainboard/lenovo/s230u/acpi/gpe.asl
@@ -7,7 +7,7 @@
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 @@
Method (TINV, 2, Serialized) {
ShiftLeft (One, Arg1, Local0)
- If (LEqual (Arg0, Zero)) {
+ If (Arg0 == Zero) {
Not (Local0, Local0)
And (GIV0, Local0, GIV0)
} Else {