diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-31 13:16:23 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-01-01 14:07:48 +0000 |
commit | 406453c973f5bf48c6ceb62fc388564ac60b6aa8 (patch) | |
tree | bf1d53253016ddd9979cad88c00d0935321e4498 /src/drivers/intel | |
parent | 5a303b0bca53626b76be5910942c09970a206461 (diff) |
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>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r-- | src/drivers/intel/gma/acpi/configure_brightness_levels.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index e273b22bc7..f0e6c31349 100644 --- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl @@ -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) |