ec/kontron/it8516e/acpi: Replace Multiply(a,b) with ASL 2.0 syntax

Replace `Multiply (a, b)` with `a * b`.

Change-Id: Iabddeb97c045ee211011ffe5cd947321a5fafaab
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60568
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:01:46 +01:00
parent 2f79a838db
commit 7b7e44ed26
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ Device (PM2) {
Release (EC_MUTEX)
Or (ShiftLeft (Local1, 8), Local0, Local0)
Store (Divide (Multiply (Local0, 10), 64), Local0) /* Convert to 10th °C */
Store (Divide (Local0 * 10, 64), Local0) /* Convert to 10th °C */
Return (Local0 + 2732) /* Return as 10th Kelvin */
}
}