Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60498 )
Change subject: ec/google/chromeec/acpi: Replace Subtract(a,b) with ASL 2.0 syntax ......................................................................
ec/google/chromeec/acpi: Replace Subtract(a,b) with ASL 2.0 syntax
Replace `Subtract (a, b)` with `a - b`.
Change-Id: Ib47fdb28c2047e001902345ad2f1b25fe5d8a152 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60498 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/ec/google/chromeec/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 7569728..0672885 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -210,7 +210,7 @@
// See if within ~6% of full ShiftRight (Local2, 4, Local3) - If (LGreater (Local1, Subtract (Local2, Local3)) && LLess (Local1, Add (Local2, Local3))) + If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Add (Local2, Local3))) { Store (Local2, Local1) }
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.