summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/gma/acpi')
-rw-r--r--src/drivers/intel/gma/acpi/common.asl2
-rw-r--r--src/drivers/intel/gma/acpi/configure_brightness_levels.asl6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl
index 59eae70bfa..e89d6d65e2 100644
--- a/src/drivers/intel/gma/acpi/common.asl
+++ b/src/drivers/intel/gma/acpi/common.asl
@@ -6,7 +6,7 @@
Method(BRID, 1, NotSerialized)
{
- Local0 = Match (BRIG, MEQ, Arg0, MTR, Zero, 2)
+ Local0 = Match (BRIG, MEQ, Arg0, MTR, 0, 2)
If (Local0 == Ones)
{
Return (SizeOf(BRIG) - 1)
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl
index 689ebc485e..d6e417cac8 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)