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:
parent
68d765b732
commit
9b13bfc6c9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue