diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 00:31:21 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:04:30 +0000 |
commit | 3f37d7afcb964a5d95e9500cd7d51c79d73f749f (patch) | |
tree | c710a1578a4cdfc0b7efabcfe7440c6f57a908c4 /src | |
parent | b1b9c73902406c1fa3a8e13768cf800420c4db4b (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/superio/winbond/w83627hf/acpi/superio.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index cc4bb87d0c..cb50fe57cb 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -493,7 +493,7 @@ Device(SIO) { If (Local4) { Store(0x04, IOAL) } - If (LEqual (Local0, 0xBC)) + If (Local0 == 0xBC) { Store (0x04, IOLE) } @@ -564,7 +564,7 @@ Device(SIO) { CreateByteField (Arg0, IO0._LEN, IOLE) CreateWordField (Arg0, IRQX._INT, IRQL) - If (LEqual(IOAL, 4)) { + If (IOAL == 4) { Store(0x0, Local2) } else { Store(0x1, Local2) |