ec/lenovo/h8/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`. Change-Id: I1dbe6c325ed33a4dd15e4d6315b2308d8351974e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60683 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
95bfa033c7
commit
c253368e46
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue