mb/google/jecht: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: Idc24216209bbfe73ef4197d4b8101f0d7e5891f7 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
@@ -24,7 +24,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
|
||||
|
@@ -24,7 +24,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
|
||||
|
@@ -24,7 +24,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
|
||||
|
@@ -39,7 +39,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
|
||||
|
Reference in New Issue
Block a user