diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 14:16:12 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:23:50 +0000 |
commit | fa36e65a865eb7bcb1dcb2eafaf84726c62335e8 (patch) | |
tree | bf603cedc1210ecd898c911fb59620cc772a4242 /src | |
parent | 66e263005293f876b4aa53753df49c3bed11a7e7 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/chromeec/acpi/battery.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl index 34166335a9..8cbe7105f6 100644 --- a/src/ec/google/chromeec/acpi/battery.asl +++ b/src/ec/google/chromeec/acpi/battery.asl @@ -22,7 +22,7 @@ Method (BTSW, 1) While (LNotEqual (BTIX, Arg0)) { Sleep (1) - Decrement (Local0) + Local0-- If (LEqual (Local0, Zero)) { Return (One) |