ec/quanta/it8518/acpi: Replace LLess(a,b) with ASL 2.0 syntax

Replace `LLess(a, b)` with `a < b`.

Change-Id: Ief1fe60116645d0cdad9e7ac600bc1062b54b40d
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60673
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Felix Singer 2022-01-02 01:36:34 +01:00
parent 7bf014f0ad
commit 10ca0ab512
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ Device (BATX)
// See if within ~3% of full // See if within ~3% of full
ShiftRight (Local2, 5, Local3) ShiftRight (Local2, 5, Local3)
If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3)) If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
{ {
Store (Local2, Local1) Store (Local2, Local1)
} }