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:
parent
2f79a838db
commit
7b7e44ed26
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue