diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-11 21:01:06 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-12 21:58:32 +0000 |
commit | c1913705accb65684f8c370f651a403ac2f1fa66 (patch) | |
tree | b629c7ef646f561baeec3b7566b6d3cf17e8fb3f /src/mainboard/lenovo/s230u | |
parent | fef71fcebe15b411982b9fbf5c5ea16524652f6a (diff) |
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>
Diffstat (limited to 'src/mainboard/lenovo/s230u')
-rw-r--r-- | src/mainboard/lenovo/s230u/acpi/gpe.asl | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |