aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 12:27:05 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:01:27 +0000
commitfde7a0522331246e0d248827d6ee8f65a02950c7 (patch)
tree0b61f4202b72081352d4643303488b0524699d04 /src/ec/google/chromeec
parent7b7e44ed2685551db34352ca90f989039f185dd0 (diff)
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 <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60572 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/chromeec')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl8
1 files changed, 4 insertions, 4 deletions
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