summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 01:36:34 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:16:23 +0000
commit10ca0ab51200f042d403ce912f74cf45305d4604 (patch)
tree535b54b376db7a5ee455ae57eba32e3ea8ac8cb0 /src/ec/quanta/it8518
parent7bf014f0adcf46defe48a502118ecde05a9b4dd8 (diff)
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>
Diffstat (limited to 'src/ec/quanta/it8518')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index 072819a963..1e0fed6436 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -317,7 +317,7 @@ Device (BATX)
// See if within ~3% of full
ShiftRight (Local2, 5, Local3)
- If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3))
+ If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
{
Store (Local2, Local1)
}