summaryrefslogtreecommitdiff
path: root/src/ec/smsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/smsc')
-rw-r--r--src/ec/smsc/mec1308/acpi/battery.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl
index 7669513a68..257897fb48 100644
--- a/src/ec/smsc/mec1308/acpi/battery.asl
+++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -134,7 +134,7 @@ Device (BAT0)
Local1 = SWAB (BTPR)
If (Local1 != 0xFFFFFFFF && Local1 >= 0x8000) {
- Xor (Local1, 0xFFFF, Local1)
+ Local1 ^= 0xFFFF
Local1++
}
PBST[1] = Local1
@@ -144,7 +144,7 @@ Device (BAT0)
//
Local1 = SWAB (BTRA)
If (Local1 != 0xFFFFFFFF && Local1 >= 0x8000) {
- Xor (Local1, 0xFFFF, Local1)
+ Local1 ^= 0xFFFF
Local1++
}