aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:45:44 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 08:57:33 +0000
commit1225083591b9f125314ab959125d027fb07e8e63 (patch)
tree41eb0863d7875aeaedacfa24c598562dc4c6bb51 /src/drivers
parentfa9e31beb62547c35cf8521714e2d72909317d3f (diff)
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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/acpi/common.asl4
1 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 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++
}