aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/ktqm77/acpi/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/kontron/ktqm77/acpi/thermal.asl')
-rw-r--r--src/mainboard/kontron/ktqm77/acpi/thermal.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/kontron/ktqm77/acpi/thermal.asl b/src/mainboard/kontron/ktqm77/acpi/thermal.asl
index 24004934ee..3465b75ff9 100644
--- a/src/mainboard/kontron/ktqm77/acpi/thermal.asl
+++ b/src/mainboard/kontron/ktqm77/acpi/thermal.asl
@@ -21,10 +21,10 @@ Scope (\_TZ)
// Convert from Degrees C to 1/10 Kelvin for ACPI
Method (CTOK, 1) {
// 10th of Degrees C
- Multiply (Arg0, 10, Local0)
+ Local0 = Arg0 * 10
// Convert to Kelvin
- Add (Local0, 2732, Local0)
+ Local0 += 2732
Return (Local0)
}