diff options
-rw-r--r-- | src/ec/lenovo/h8/acpi/thermal.asl | 2 | ||||
-rw-r--r-- | src/ec/lenovo/h8/acpi/thinkpad.asl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/lenovo/h8/acpi/thermal.asl b/src/ec/lenovo/h8/acpi/thermal.asl index 2215d5fb35..26b5df0bc3 100644 --- a/src/ec/lenovo/h8/acpi/thermal.asl +++ b/src/ec/lenovo/h8/acpi/thermal.asl @@ -12,7 +12,7 @@ Scope(\_TZ) Method(C2K, 1, NotSerialized) { Multiply(Arg0, 10, Local0) - Add (Local0, 2732, Local0) + Local0 += 2732 if (LLessEqual(Local0, 2732)) { Return (3000) } 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) |