From 263beafc6f521705608397316d1d9ca5ff40f8bd Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 02:51:38 +0100 Subject: ec/google/chromeec/acpi: Replace Add(a,b) with ASL 2.0 syntax Replace `Add (a, b)` with `a + b`. Change-Id: I7a0f9685130cdb124cf5e3ee517328e949a023e3 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60508 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/ec/google/chromeec/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec/google/chromeec/acpi') diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 0672885668..663cc25255 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -210,7 +210,7 @@ Method (BBST, 4, Serialized) // See if within ~6% of full ShiftRight (Local2, 4, Local3) - If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Add (Local2, Local3))) + If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3)) { Store (Local2, Local1) } -- cgit v1.2.3