summaryrefslogtreecommitdiff
path: root/src/ec/lenovo
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo')
-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 23c1e027c2..7bf83b5690 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -35,13 +35,13 @@ Device (HKEY)
Method (MHKP, 0, NotSerialized)
{
Store (BTN, Local0)
- If (LNotEqual (Local0, Zero)) {
+ If (Local0 != 0) {
Store (Zero, BTN)
Local0 += 0x1000
Return (Local0)
}
Store (BTAB, Local0)
- If (LNotEqual (Local0, Zero)) {
+ If (Local0 != 0) {
Store (Zero, BTAB)
Local0 += 0x5000
Return (Local0)