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:
parent
fa9e31beb6
commit
1225083591
|
@ -38,7 +38,7 @@
|
||||||
Notify (LCD0, 0x87)
|
Notify (LCD0, 0x87)
|
||||||
} Else {
|
} Else {
|
||||||
Store (BRID (XBQC ()), Local0)
|
Store (BRID (XBQC ()), Local0)
|
||||||
If (LNotEqual (Local0, 2))
|
If (Local0 != 2)
|
||||||
{
|
{
|
||||||
Local0--
|
Local0--
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
Notify (LCD0, 0x86)
|
Notify (LCD0, 0x86)
|
||||||
} Else {
|
} Else {
|
||||||
Store (BRID (XBQC ()), Local0)
|
Store (BRID (XBQC ()), Local0)
|
||||||
If (LNotEqual (Local0, SizeOf(BRIG) - 1))
|
If (Local0 != SizeOf(BRIG) - 1)
|
||||||
{
|
{
|
||||||
Local0++
|
Local0++
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue