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>
This commit is contained in:
@@ -7,7 +7,7 @@ Scope (_GPE)
|
|||||||
ShiftLeft (Arg0, Arg1, Local0)
|
ShiftLeft (Arg0, Arg1, Local0)
|
||||||
Not( ShiftLeft (One, Arg1), Local1)
|
Not( ShiftLeft (One, Arg1), Local1)
|
||||||
Or (Local0, And (Local1, PDET), PDET)
|
Or (Local0, And (Local1, PDET), PDET)
|
||||||
If (LEqual (PDET, Zero)) {
|
If (PDET == Zero) {
|
||||||
// Palm removed
|
// Palm removed
|
||||||
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
|
\_SB.PCI0.LPCB.EC0.HKEY.MHKQ (0x60B1)
|
||||||
} Else {
|
} Else {
|
||||||
@@ -18,7 +18,7 @@ Scope (_GPE)
|
|||||||
|
|
||||||
Method (TINV, 2, Serialized) {
|
Method (TINV, 2, Serialized) {
|
||||||
ShiftLeft (One, Arg1, Local0)
|
ShiftLeft (One, Arg1, Local0)
|
||||||
If (LEqual (Arg0, Zero)) {
|
If (Arg0 == Zero) {
|
||||||
Not (Local0, Local0)
|
Not (Local0, Local0)
|
||||||
And (GIV0, Local0, GIV0)
|
And (GIV0, Local0, GIV0)
|
||||||
} Else {
|
} Else {
|
||||||
|
Reference in New Issue
Block a user