summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 12:01:46 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:01:09 +0000
commit7b7e44ed2685551db34352ca90f989039f185dd0 (patch)
tree5be2b2f1acb20eee01a3cefb8dfe1ca18ffb3afc /src/ec
parent2f79a838dbeba269f0ab12db4fb88c8a948c2274 (diff)
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>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/kontron/it8516e/acpi/pm_channels.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl
index 9217406f57..b130026d78 100644
--- a/src/ec/kontron/it8516e/acpi/pm_channels.asl
+++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl
@@ -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 */
}
}