summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-01 23:36:28 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:26:15 +0000
commit89818d1da7406bd9571d7d7ac4c3a5629b9bb368 (patch)
treeed4cf14903965cc38bd3101b087c487734cf2d81 /src/ec
parent81623fbd96426782e1cf8853e37e0ba73cfe9983 (diff)
ec/google/chromeec/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax
Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: Iea86e77df6c76756ed336f57a906ac0757aef1cf Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60647 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index e2b55ff88d..35e0e0013f 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -201,7 +201,7 @@ Device (EC0)
Local0 += \_SB.PCI0.LPCB.EC0.TOFS
/* Convert to 1/10 Kelvin */
- Multiply (Local0, 10, Local0)
+ Local0 *= 10
Return (Local0)
}