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>
This commit is contained in:
Felix Singer 2022-01-02 02:45:44 +01:00
parent fa9e31beb6
commit 1225083591
1 changed files with 2 additions and 2 deletions

View File

@ -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++
}