summaryrefslogtreecommitdiff
path: root/src/ec/kontron/it8516e/acpi/pm_channels.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 12:06:17 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:02:07 +0000
commit9655cfc9c978a2c40184404d745c6c959800db35 (patch)
tree43ee0d6d0c1b4e3cd1ec96cc4b81d515822a1982 /src/ec/kontron/it8516e/acpi/pm_channels.asl
parenta330382db4701f411482de002ae8b60e5e3d4eda (diff)
ec/kontron/it8516e/acpi: Replace Divide(a,b) with ASL 2.0 syntax
Replace `Divide (a, b)` with `a / b`. Change-Id: Ic705dce7303b6bcd1c679a1ae7c81e0809fefa5b Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60570 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/kontron/it8516e/acpi/pm_channels.asl')
-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 b130026d78..0ac04673b2 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 (Local0 * 10, 64), Local0) /* Convert to 10th °C */
+ Store (Local0 * 10 / 64, Local0) /* Convert to 10th °C */
Return (Local0 + 2732) /* Return as 10th Kelvin */
}
}