drivers/intel/gma/acpi: Replace LOr() with ASL 2.0 syntax

Replace `LOr (a, b)` with `a || b`.

Change-Id: I26f785c2f959539141e70053ae38aac16d3b9185
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60576
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Felix Singer 2021-12-31 13:16:23 +01:00
parent 5a303b0bca
commit 406453c973
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@
Store (DeRefOf (BRIG[Local1 + 1]), Local3)
If (LLess (Local0, Local3)) {
If (LOr (LLess (Local0, Local2), LLess (Local0 - Local2, Local3 - Local0))) {
If (LLess (Local0, Local2) || LLess (Local0 - Local2, Local3 - Local0)) {
Return (Local2)
} Else {
Return (Local3)