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>
This commit is contained in:
Felix Singer 2022-01-01 23:34:26 +01:00
parent 26caf387ff
commit 32283a86cf
1 changed files with 1 additions and 1 deletions

View File

@ -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)