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>
This commit is contained in:
Felix Singer 2022-01-02 00:31:21 +01:00
parent b1b9c73902
commit 3f37d7afcb
1 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ Device(SIO) {
If (Local4) { If (Local4) {
Store(0x04, IOAL) Store(0x04, IOAL)
} }
If (LEqual (Local0, 0xBC)) If (Local0 == 0xBC)
{ {
Store (0x04, IOLE) Store (0x04, IOLE)
} }
@ -564,7 +564,7 @@ Device(SIO) {
CreateByteField (Arg0, IO0._LEN, IOLE) CreateByteField (Arg0, IO0._LEN, IOLE)
CreateWordField (Arg0, IRQX._INT, IRQL) CreateWordField (Arg0, IRQX._INT, IRQL)
If (LEqual(IOAL, 4)) { If (IOAL == 4) {
Store(0x0, Local2) Store(0x0, Local2)
} else { } else {
Store(0x1, Local2) Store(0x1, Local2)