ec/quanta/it8518/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax

Replace `Subtract (a, b, c)` with `c = a - b`.

Change-Id: Ifcdc29dbc3874180bd0692260ea250a1a6c86d41
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60480
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:09:03 +01:00
parent cb9f038ec5
commit f00caca13e

View file

@ -265,7 +265,7 @@ Device (BATX)
{
If (And (Local0, 1))
{
Subtract (0x10000, Local1, Local1)
Local1 = 0x10000 - Local1
}
Else
{