mb/google/cyan: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: Ib8719143a5a217173b34931e9c0ef02e9895d0a5 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60650 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
cdba42c69c
commit
cc62b50935
|
@ -203,7 +203,7 @@ Device (DPTF)
|
||||||
/* Convert from Degrees C to 1/10 Kelvin for ACPI */
|
/* Convert from Degrees C to 1/10 Kelvin for ACPI */
|
||||||
Method (CTOK, 1) {
|
Method (CTOK, 1) {
|
||||||
/* 10th of Degrees C */
|
/* 10th of Degrees C */
|
||||||
Multiply (Arg0, 10, Local0)
|
Local0 = Arg0 * 10
|
||||||
|
|
||||||
/* Convert to Kelvin */
|
/* Convert to Kelvin */
|
||||||
Local0 += 2732
|
Local0 += 2732
|
||||||
|
|
Loading…
Reference in New Issue