From 6119303a39d7dc082839f2fbe0bf27d971f708d7 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 1 Jan 2022 23:38:07 +0100 Subject: [PATCH] ec/kontron/it8516e/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: I81e976de964f6ae3528884debaf2b24ddf8ed28a Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60648 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/kontron/it8516e/acpi/pm_channels.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl index 0ac04673b2..5df72c0985 100644 --- a/src/ec/kontron/it8516e/acpi/pm_channels.asl +++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl @@ -35,7 +35,7 @@ Device (PM1) { If (And (Local0, EC_ERROR_MASK)) { Return (0) } - Multiply (Local0, 10, Local0) /* Convert to 10th °C */ + Local0 *= 10 Return (Local0 + 2732) /* Return as 10th Kelvin */ } }