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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60698
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl
index 860e1a8..0d7f576 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++
}