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>
This commit is contained in:
Felix Singer 2021-12-31 12:27:05 +01:00
parent 7b7e44ed26
commit fde7a05223
1 changed files with 4 additions and 4 deletions

View File

@ -78,11 +78,11 @@ Method (BBIF, 2, Serialized)
Store (Local0, Arg1[1]) Store (Local0, Arg1[1])
// Design Capacity of Warning // Design Capacity of Warning
Divide (Multiply (Local0, DWRN), 100, , Local2) Divide (Local0 * DWRN, 100, , Local2)
Store (Local2, Arg1[5]) Store (Local2, Arg1[5])
// Design Capacity of Low // Design Capacity of Low
Divide (Multiply (Local0, DLOW), 100, , Local2) Divide (Local0 * DLOW, 100, , Local2)
Store (Local2, Arg1[6]) Store (Local2, Arg1[6])
// Get battery info from mainboard // Get battery info from mainboard
@ -118,11 +118,11 @@ Method (BBIX, 2, Serialized)
Store (Local0, Arg1[2]) Store (Local0, Arg1[2])
// Design Capacity of Warning // Design Capacity of Warning
Divide (Multiply (Local0, DWRN), 100, , Local2) Divide (Local0 * DWRN, 100, , Local2)
Store (Local2, Arg1[6]) Store (Local2, Arg1[6])
// Design Capacity of Low // Design Capacity of Low
Divide (Multiply (Local0, DLOW), 100, , Local2) Divide (Local0 * DLOW, 100, , Local2)
Store (Local2, Arg1[7]) Store (Local2, Arg1[7])
// Cycle Count // Cycle Count