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:
parent
5e5c14b36d
commit
fe62d6911e
|
@ -27,7 +27,7 @@ Scope (\_TZ)
|
||||||
Multiply (Arg0, 10, Local0)
|
Multiply (Arg0, 10, Local0)
|
||||||
|
|
||||||
// Convert to Kelvin
|
// Convert to Kelvin
|
||||||
Add (Local0, 2732, Local0)
|
Local0 += 2732
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ Scope (\_TZ)
|
||||||
Multiply (Arg0, 10, Local0)
|
Multiply (Arg0, 10, Local0)
|
||||||
|
|
||||||
// Convert to Kelvin
|
// Convert to Kelvin
|
||||||
Add (Local0, 2732, Local0)
|
Local0 += 2732
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ Scope (\_TZ)
|
||||||
Multiply (Arg0, 10, Local0)
|
Multiply (Arg0, 10, Local0)
|
||||||
|
|
||||||
// Convert to Kelvin
|
// Convert to Kelvin
|
||||||
Add (Local0, 2732, Local0)
|
Local0 += 2732
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ Scope (\_TZ)
|
||||||
Multiply (Arg0, 10, Local0)
|
Multiply (Arg0, 10, Local0)
|
||||||
|
|
||||||
// Convert to Kelvin
|
// Convert to Kelvin
|
||||||
Add (Local0, 2732, Local0)
|
Local0 += 2732
|
||||||
|
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue