summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/lenovo/h8/acpi/thermal.asl6
1 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 78890ebef6..a1276fcd1f 100644
--- a/src/ec/lenovo/h8/acpi/thermal.asl
+++ b/src/ec/lenovo/h8/acpi/thermal.asl
@@ -17,7 +17,7 @@ Scope(\_TZ)
Return (3000)
}
- if (LGreater(Local0, 4012)) {
+ if (Local0 > 4012) {
Return (3000)
}
Return (Local0)
@@ -47,7 +47,7 @@ External (\PPKG, MethodObj)
/* Get critical temperature in degree celsius */
Method (GCRT, 0, NotSerialized) {
Store (\TCRT, Local0)
- if (LGreater (Local0, 0)) {
+ if (Local0 > 0) {
Return (Local0)
}
Return (127)
@@ -56,7 +56,7 @@ External (\PPKG, MethodObj)
/* Get passive temperature in degree celsius */
Method (GPSV, 0, NotSerialized) {
Store (\TPSV, Local0)
- if (LGreater (Local0, 0)) {
+ if (Local0 > 0) {
Return (Local0)
}
Return (95)