diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 13:49:03 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:08:38 +0000 |
commit | 42fcf5acfdd43136827460fb1044b0a4d259ee02 (patch) | |
tree | e7286f0fbf2a76c7a1ef5b109f21b31a4a97652b /src/drivers/intel/gma/acpi | |
parent | 60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0 (diff) |
drivers/intel/gma/acpi: Replace Increment() with ASL 2.0 syntax
Replace `Increment(a)` with `a++`.
Change-Id: If0c11f43713bf7afec6dd600289776eefd1331e8
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60580
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers/intel/gma/acpi')
-rw-r--r-- | src/drivers/intel/gma/acpi/common.asl | 2 | ||||
-rw-r--r-- | src/drivers/intel/gma/acpi/configure_brightness_levels.asl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl index 02169ae874..0cf28fafbf 100644 --- a/src/drivers/intel/gma/acpi/common.asl +++ b/src/drivers/intel/gma/acpi/common.asl @@ -58,7 +58,7 @@ Store (BRID (XBQC ()), Local0) If (LNotEqual (Local0, SizeOf(BRIG) - 1)) { - Increment (Local0) + Local0++ } XBCM (DerefOf (BRIG[Local0])) } diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index f0e6c31349..99d2bc5ff9 100644 --- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl @@ -134,7 +134,7 @@ } } - Increment (Local1) + Local1++ } /* Didn't find greater/equal value: use the last */ |