Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60485 )
Change subject: ec/hp/kbc1126/acpi: Replace Add(a,b,c) with ASL 2.0 syntax ......................................................................
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 --- M src/ec/hp/kbc1126/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/60485/1
diff --git a/src/ec/hp/kbc1126/acpi/battery.asl b/src/ec/hp/kbc1126/acpi/battery.asl index 5a6e5dc..5a5632b 100644 --- a/src/ec/hp/kbc1126/acpi/battery.asl +++ b/src/ec/hp/kbc1126/acpi/battery.asl @@ -230,7 +230,7 @@ { Local1-- Divide (Local0, 10, Local2, Local0) - Add (Local2, 48, NUMB[Local1]) + NUMB[Local1] = Local2 + 48 } ToString (NUMB, Arg1, Local3) Return (Local3)