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

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

Change-Id: I48d471730d36200f5496effaad00a06222be85d9
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60485
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:24:18 +01:00
parent 3a46206c08
commit 103f89a200
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ Method (\ISTR, 2, Serialized)
{
Local1--
Divide (Local0, 10, Local2, Local0)
Add (Local2, 48, NUMB[Local1])
NUMB[Local1] = Local2 + 48
}
ToString (NUMB, Arg1, Local3)
Return (Local3)