Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60580 )
Change subject: drivers/intel/gma/acpi: Replace Increment() with ASL 2.0 syntax ......................................................................
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 --- M src/drivers/intel/gma/acpi/common.asl M src/drivers/intel/gma/acpi/configure_brightness_levels.asl 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl index 02169ae..0cf28fa 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 f0e6c31..99d2bc5 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 */