ec/quanta/it8518/acpi: Replace LGreaterEqual(a,b) with ASL 2.0 syntax
Replace `LGreaterEqual(a, b)` with `a >= b`. Change-Id: I99cc4cf08ad74f2cb84e0ad16e615e03bbf388af Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60691 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
3f53ee3269
commit
d40d0b0398
|
@ -261,7 +261,7 @@ Device (BATX)
|
|||
// 1: BATTERY PRESENT RATE/CURRENT
|
||||
//
|
||||
Store (ECAC, Local1)
|
||||
If (LGreaterEqual (Local1, 0x8000))
|
||||
If (Local1 >= 0x8000)
|
||||
{
|
||||
If (And (Local0, 1))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue