tree/acpi: Replace constant "Zero" with actual number
Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
index 689ebc4..d6e417c 100644
--- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
@@ -34,7 +34,7 @@
* Request back-light brightness change through mailbox 3
*
* @param Arg0 The brightness level to set in percent
- * @Return Zero on success, Ones on failure
+ * @Return 0 on success, Ones on failure
* Errors: * ASLS is zero
* * Mailbox 3 support not advertised
* * Driver not loaded or not ready
@@ -78,7 +78,7 @@
/* Request has been processed, check status: */
Local1 = (ASLC >> 12) & 3
If (Local1 == 0) {
- Return (Zero)
+ Return (0)
} Else {
Return (Ones)
}
@@ -114,7 +114,7 @@
/* Prevent DivideByZero if backlight control isn't enabled */
If (BCLM == 0)
{
- Return (Zero)
+ Return (0)
}
/* Local0: current percentage */
Local0 = DRCL (BCLV * 100, BCLM)