summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl6
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 4cc5ac45c2..702fbb1112 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -19,7 +19,7 @@ Method (BTSW, 1)
}
Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID)
Store (5, Local0) // Timeout 5 msec
- While (LNotEqual (BTIX, Arg0))
+ While (BTIX != Arg0)
{
Sleep (1)
Local0--
@@ -29,7 +29,7 @@ Method (BTSW, 1)
}
}
#else
- If (LNotEqual (0, Arg0)) {
+ If (Arg0 != 0) {
Return (One)
}
#endif
@@ -180,7 +180,7 @@ Method (BBST, 4, Serialized)
Store (Local1, Arg1[0])
// Notify if battery state has changed since last time
- If (LNotEqual (Local1, DeRefOf (Arg2))) {
+ If (Local1 != DeRefOf (Arg2)) {
Store (Local1, Arg2)
If (Arg0 == 0) {
Notify (BAT0, 0x80)
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 35e0e0013f..e28fa1a3ea 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -494,7 +494,7 @@ Device (EC0)
Store (^PATI, Local0)
/* When sensor ID returns 0xFF then no more events */
- While (LNotEqual (Local0, EC_TEMP_SENSOR_NOT_PRESENT))
+ While (Local0 != EC_TEMP_SENSOR_NOT_PRESENT)
{
#ifdef HAVE_THERM_EVENT_HANDLER
\_SB.DPTF.TEVT (Local0)