summaryrefslogtreecommitdiff
path: root/src/ec/quanta
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:00:58 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:09:36 +0000
commit176279eff121a0c69399d03d3ee90f7c964bf7b1 (patch)
tree09b81c7c2cbd80a1b067f10ddd8b5853773f041a /src/ec/quanta
parent0e790c6cbab39f81f816b4c5380d8b8acf0ce068 (diff)
ec/quanta/it8518/acpi: Replace Increment() with ASL 2.0 syntax
Replace `Increment(a)` with `a++`. Change-Id: I5de24042a1a69975c980f6ef10babf6f478b8d69 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60583 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/ec/quanta')
-rw-r--r--src/ec/quanta/it8518/acpi/ec.asl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ec/quanta/it8518/acpi/ec.asl b/src/ec/quanta/it8518/acpi/ec.asl
index ea6f730913..3d1e2442bd 100644
--- a/src/ec/quanta/it8518/acpi/ec.asl
+++ b/src/ec/quanta/it8518/acpi/ec.asl
@@ -556,8 +556,7 @@ Device (EC0)
// TODO Which temperature corresponds to the CPU?
Store (TMP0, Local0)
/* So that we don't get a warning that Local0 is unused. */
- Increment (Local0)
-
+ Local0++
}
/* Attention Codes