superio/winbond/w83627hf/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual(a, b)` with `a == b`.
Change-Id: I3833a3a341bd64191cc0b811ca80e96a359307a1
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60658
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl
index cc4bb87..cb50fe5 100644
--- a/src/superio/winbond/w83627hf/acpi/superio.asl
+++ b/src/superio/winbond/w83627hf/acpi/superio.asl
@@ -493,7 +493,7 @@
If (Local4) {
Store(0x04, IOAL)
}
- If (LEqual (Local0, 0xBC))
+ If (Local0 == 0xBC)
{
Store (0x04, IOLE)
}
@@ -564,7 +564,7 @@
CreateByteField (Arg0, IO0._LEN, IOLE)
CreateWordField (Arg0, IRQX._INT, IRQL)
- If (LEqual(IOAL, 4)) {
+ If (IOAL == 4) {
Store(0x0, Local2)
} else {
Store(0x1, Local2)