ec/google/chromeec/acpi: Replace Decrement() with ASL 2.0 syntax

Replace `Decrement (a)` with `a--`.

Change-Id: Ie2d5856316e2c8faac657c6caf79a46f099353be
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60590
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-31 14:16:12 +01:00
parent 66e2630052
commit fa36e65a86
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Method (BTSW, 1)
While (LNotEqual (BTIX, Arg0))
{
Sleep (1)
Decrement (Local0)
Local0--
If (LEqual (Local0, Zero))
{
Return (One)