diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-01 23:38:07 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:13:15 +0000 |
commit | 6119303a39d7dc082839f2fbe0bf27d971f708d7 (patch) | |
tree | 6d8a1e4fa99cd88763a52850431c92bf7b80c405 /src/ec/kontron/it8516e/acpi | |
parent | c0ce14cc04550e1ecc871c100ab1e8114e23e0c4 (diff) |
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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60648
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/kontron/it8516e/acpi')
-rw-r--r-- | src/ec/kontron/it8516e/acpi/pm_channels.asl | 2 |
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 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 */ } } |