diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-01 23:34:26 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:20:48 +0000 |
commit | 32283a86cf1506846f288e77c8a204359682d7e6 (patch) | |
tree | 51cd7983db10cc749b08af68820867fc23c7575e /src/ec/lenovo/h8 | |
parent | 26caf387ff9ee96d271c4c25b5b2c699f486d9a7 (diff) |
ec/lenovo/h8/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`.
Change-Id: Idfc08803946cc2d4537db4be8d1bc07e48aa6fed
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60646
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/lenovo/h8')
-rw-r--r-- | src/ec/lenovo/h8/acpi/thermal.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl index a1276fcd1f..bdc06425b4 100644 --- a/src/ec/lenovo/h8/acpi/thermal.asl +++ b/src/ec/lenovo/h8/acpi/thermal.asl @@ -11,7 +11,7 @@ Scope(\_TZ) Method(C2K, 1, NotSerialized) { - Multiply(Arg0, 10, Local0) + Local0 = Arg0 * 10 Local0 += 2732 if (LLessEqual(Local0, 2732)) { Return (3000) |