mb/roda/rk9/acpi: Replace Multiply(a,b) with ASL 2.0 syntax
Replace `Multiply (a, b)` with `a * b`. Change-Id: I8697f62cf5627ace8c4eac0caec7962171bb3541 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60567 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
3dc8f56a18
commit
2f79a838db
|
@ -6,7 +6,7 @@ Scope (\_TZ)
|
||||||
{
|
{
|
||||||
/* degree Celsius to deci-Kelvin (ACPI temperature unit) */
|
/* degree Celsius to deci-Kelvin (ACPI temperature unit) */
|
||||||
Method(C2dK, 1) {
|
Method(C2dK, 1) {
|
||||||
Local0 = 2732 + Multiply (Arg0, 10)
|
Local0 = 2732 + Arg0 * 10
|
||||||
Return (Local0)
|
Return (Local0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue