summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/smsc/mec1308/acpi/battery.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl
index 9fd5ff6f46..732f392308 100644
--- a/src/ec/smsc/mec1308/acpi/battery.asl
+++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -123,7 +123,7 @@ Device (BAT0)
Store (Local1, PBST[0])
// Notify if battery state has changed since last time
- If (LNotEqual (Local1, BSTP)) {
+ If (Local1 != BSTP) {
Store (Local1, BSTP)
Notify (BAT0, 0x80)
}
@@ -133,7 +133,7 @@ Device (BAT0)
//
Store (SWAB (BTPR), Local1)
- If (LNotEqual (Local1, 0xFFFFFFFF) && Local1 >= 0x8000) {
+ If (Local1 != 0xFFFFFFFF && Local1 >= 0x8000) {
Xor (Local1, 0xFFFF, Local1)
Local1++
}
@@ -143,7 +143,7 @@ Device (BAT0)
// 2: BATTERY REMAINING CAPACITY
//
Store (SWAB (BTRA), Local1)
- If (LNotEqual (Local1, 0xFFFFFFFF) && Local1 >= 0x8000) {
+ If (Local1 != 0xFFFFFFFF && Local1 >= 0x8000) {
Xor (Local1, 0xFFFF, Local1)
Local1++
}