mb/google/jecht/acpi: Replace Add(a,b,c) with ASL 2.0 syntax

Replace `Add (a, b, c)` with `c = a + b`.

Change-Id: Ie7fa132623c7834e3d2f1acda032928579819a84
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60489
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Felix Singer 2021-12-30 01:35:49 +01:00
parent 5e5c14b36d
commit fe62d6911e
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ Scope (\_TZ)
Multiply (Arg0, 10, Local0)
// Convert to Kelvin
Add (Local0, 2732, Local0)
Local0 += 2732
Return (Local0)
}

View File

@ -27,7 +27,7 @@ Scope (\_TZ)
Multiply (Arg0, 10, Local0)
// Convert to Kelvin
Add (Local0, 2732, Local0)
Local0 += 2732
Return (Local0)
}

View File

@ -27,7 +27,7 @@ Scope (\_TZ)
Multiply (Arg0, 10, Local0)
// Convert to Kelvin
Add (Local0, 2732, Local0)
Local0 += 2732
Return (Local0)
}

View File

@ -42,7 +42,7 @@ Scope (\_TZ)
Multiply (Arg0, 10, Local0)
// Convert to Kelvin
Add (Local0, 2732, Local0)
Local0 += 2732
Return (Local0)
}