summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/it8518/acpi')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl14
-rw-r--r--src/ec/quanta/it8518/acpi/ec.asl4
2 files changed, 9 insertions, 9 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index 4f3834a599..cfc88ed9cc 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -13,7 +13,7 @@ Device (BATX)
// Battery X Information
// Battery X Status
//
- Name (BXST, Zero)
+ Name (BXST, 0)
//
// Default Static Battery Information
@@ -55,7 +55,7 @@ Device (BATX)
// Method to disable full battery workaround
Method (BFWD)
{
- BFWK = Zero
+ BFWK = 0
}
// Method to wait for EC to be ready after changing the Battery Info ID
@@ -111,7 +111,7 @@ Device (BATX)
//
// Information ID 0 -
//
- HIID = Zero
+ HIID = 0
WAEC ()
//
@@ -228,7 +228,7 @@ Device (BATX)
}
Else
{
- Local0 = Zero
+ Local0 = 0
}
}
@@ -238,7 +238,7 @@ Device (BATX)
Local0 |= 4
}
- Local1 = Zero
+ Local1 = 0
// Check if AC is present
If (ACPW)
@@ -270,7 +270,7 @@ Device (BATX)
Else
{
// Error
- Local1 = Zero
+ Local1 = 0
}
}
Else
@@ -278,7 +278,7 @@ Device (BATX)
If (!(Local0 & 2))
{
// Battery is not charging
- Local1 = Zero
+ Local1 = 0
}
}
diff --git a/src/ec/quanta/it8518/acpi/ec.asl b/src/ec/quanta/it8518/acpi/ec.asl
index b510b8ab1a..6433523620 100644
--- a/src/ec/quanta/it8518/acpi/ec.asl
+++ b/src/ec/quanta/it8518/acpi/ec.asl
@@ -602,7 +602,7 @@ Device (EC0)
// AC Power Removed
Method (_Q27, 0, NotSerialized)
{
- \PWRS = Zero
+ \PWRS = 0
Notify (AC, 0x80)
\PNOT ()
}
@@ -617,7 +617,7 @@ Device (EC0)
// LID Close (Suspend Trigger)
Method (_Q2B)
{
- \LIDS = Zero
+ \LIDS = 0
Notify (\_SB.LID0, 0x80)
}