ec/lenovo/h8/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: Idfc08803946cc2d4537db4be8d1bc07e48aa6fed Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60646 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
26caf387ff
commit
32283a86cf
|
@ -11,7 +11,7 @@ Scope(\_TZ)
|
||||||
|
|
||||||
Method(C2K, 1, NotSerialized)
|
Method(C2K, 1, NotSerialized)
|
||||||
{
|
{
|
||||||
Multiply(Arg0, 10, Local0)
|
Local0 = Arg0 * 10
|
||||||
Local0 += 2732
|
Local0 += 2732
|
||||||
if (LLessEqual(Local0, 2732)) {
|
if (LLessEqual(Local0, 2732)) {
|
||||||
Return (3000)
|
Return (3000)
|
||||||
|
|
Loading…
Reference in New Issue