mb/google/kahlee: Replace Multiply(a,b,c) with ASL 2.0 syntax

Replace `Multiply (a, b, c)` with `c = a * b`.

Change-Id: I19835510b89cd243277f0c9701209c81bdf6ea29
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60651
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:44:23 +01:00
parent cc62b50935
commit 54d0c99523
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Scope (\_TZ)
/* Convert from Degrees C to 1/10 Kelvin for ACPI */
Method (CTOK, 1) {
/* 10th of Degrees C */
Multiply (Arg0, 10, Local0)
Local0 = Arg0 * 10
/* Convert to Kelvin */
Local0 += 2732