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:
parent
cb9f038ec5
commit
f00caca13e
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ Device (BATX)
|
||||||
{
|
{
|
||||||
If (And (Local0, 1))
|
If (And (Local0, 1))
|
||||||
{
|
{
|
||||||
Subtract (0x10000, Local1, Local1)
|
Local1 = 0x10000 - Local1
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue