From fde7a0522331246e0d248827d6ee8f65a02950c7 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 12:27:05 +0100 Subject: ec/google/chromeec/acpi: Replace Multiply(a,b) with ASL 2.0 syntax Replace `Multiply (a, b)` with `a * b`. Change-Id: I75c68c733b192a8e86643f5a5f3451d010e69023 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60572 Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/ec/google/chromeec/acpi/battery.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ec/google/chromeec') diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 663cc25255..34166335a9 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -78,11 +78,11 @@ Method (BBIF, 2, Serialized) Store (Local0, Arg1[1]) // Design Capacity of Warning - Divide (Multiply (Local0, DWRN), 100, , Local2) + Divide (Local0 * DWRN, 100, , Local2) Store (Local2, Arg1[5]) // Design Capacity of Low - Divide (Multiply (Local0, DLOW), 100, , Local2) + Divide (Local0 * DLOW, 100, , Local2) Store (Local2, Arg1[6]) // Get battery info from mainboard @@ -118,11 +118,11 @@ Method (BBIX, 2, Serialized) Store (Local0, Arg1[2]) // Design Capacity of Warning - Divide (Multiply (Local0, DWRN), 100, , Local2) + Divide (Local0 * DWRN, 100, , Local2) Store (Local2, Arg1[6]) // Design Capacity of Low - Divide (Multiply (Local0, DLOW), 100, , Local2) + Divide (Local0 * DLOW, 100, , Local2) Store (Local2, Arg1[7]) // Cycle Count -- cgit v1.2.3