ec/google/chromeec/acpi: Replace LGreaterEqual(a,b) with ASL 2.0 syntax

Replace `LGreaterEqual(a, b)` with `a >= b`.

Change-Id: I72875f68e143f9384c91588cd453d2987fda526d
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60690
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Felix Singer 2022-01-02 02:19:48 +01:00 committed by Paul Fagerburg
parent 68d765b732
commit 9b13bfc6c9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Method (BTSW, 1)
If (LEqual (BTIX, Arg0)) { If (LEqual (BTIX, Arg0)) {
Return (Zero) Return (Zero)
} }
If (LGreaterEqual (Arg0, BTCN)) { If (Arg0 >= BTCN) {
Return (One) Return (One)
} }
Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID) Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID)