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

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

Change-Id: Iaa79ea4bdb4a33fd2445ae9033c740dacc090037
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60484
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:22:36 +01:00
parent 44b014950b
commit 3a46206c08
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ Device (EC0)
}
/* Adjust by offset to get Kelvin */
Add (\_SB.PCI0.LPCB.EC0.TOFS, Local0, Local0)
Local0 += \_SB.PCI0.LPCB.EC0.TOFS
/* Convert to 1/10 Kelvin */
Multiply (Local0, 10, Local0)