summaryrefslogtreecommitdiff
path: root/src/ec/quanta/ene_kb3940q/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:02:52 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:09:48 +0000
commit70f59e28a067114d23cd7d75fe50db8baeb0e6d9 (patch)
tree26ae1325c9ac650f23f91b30373e41fd1bbb5a53 /src/ec/quanta/ene_kb3940q/acpi
parent176279eff121a0c69399d03d3ee90f7c964bf7b1 (diff)
ec/quanta/ene_kb3940q/acpi: Replace Increment() with ASL 2.0 syntax
Replace `Increment(a)` with `a++`. Change-Id: Ic009a868e98cc23dff16154244d65080c1edfa22 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/quanta/ene_kb3940q/acpi')
-rw-r--r--src/ec/quanta/ene_kb3940q/acpi/ec.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/ene_kb3940q/acpi/ec.asl b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
index 6d22f9a3f1..12f0809d99 100644
--- a/src/ec/quanta/ene_kb3940q/acpi/ec.asl
+++ b/src/ec/quanta/ene_kb3940q/acpi/ec.asl
@@ -180,7 +180,7 @@ Device (EC0)
Local1 = PPCM - 1
If(LLess(Local0, Local1)) {
- Increment(Local0)
+ Local0++
\PPCN ()
}