summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi/thinkpad.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/acpi/thinkpad.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/thinkpad.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl
index eca0d4471d..fa073d82a0 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -37,13 +37,13 @@ Device (HKEY)
Store (BTN, Local0)
If (LNotEqual (Local0, Zero)) {
Store (Zero, BTN)
- Add (Local0, 0x1000, Local0)
+ Local0 += 0x1000
Return (Local0)
}
Store (BTAB, Local0)
If (LNotEqual (Local0, Zero)) {
Store (Zero, BTAB)
- Add (Local0, 0x5000, Local0)
+ Local0 += 0x5000
Return (Local0)
}
Return (Zero)