From 1225083591b9f125314ab959125d027fb07e8e63 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:45:44 +0100 Subject: [PATCH] drivers/intel/gma/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax Replace `LNotEqual(a, b)` with `a != b`. Change-Id: Ib1b3f85f95511e903948b385e86e5102d5b43add Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60698 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/drivers/intel/gma/acpi/common.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl index 860e1a849f..0d7f576aa8 100644 --- a/src/drivers/intel/gma/acpi/common.asl +++ b/src/drivers/intel/gma/acpi/common.asl @@ -38,7 +38,7 @@ Notify (LCD0, 0x87) } Else { Store (BRID (XBQC ()), Local0) - If (LNotEqual (Local0, 2)) + If (Local0 != 2) { Local0-- } @@ -56,7 +56,7 @@ Notify (LCD0, 0x86) } Else { Store (BRID (XBQC ()), Local0) - If (LNotEqual (Local0, SizeOf(BRIG) - 1)) + If (Local0 != SizeOf(BRIG) - 1) { Local0++ } -- 2.11.4.GIT