ec/quanta/ene_kb3940q/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax
Replace `Subtract (a, b, c)` with `c = a - b`. Change-Id: I4a0bf83013065176782b18d0eb40d96c11a54791 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60477 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
f5b162e55d
commit
ae2d14b4a1
|
@ -177,7 +177,7 @@ Device (EC0)
|
|||
Printf ("Pstate Event 0x0E")
|
||||
|
||||
Store(\_SB.CP00._PPC, Local0)
|
||||
Subtract(PPCM, 0x01, Local1)
|
||||
Local1 = PPCM - 1
|
||||
|
||||
If(LLess(Local0, Local1)) {
|
||||
Increment(Local0)
|
||||
|
|
Loading…
Reference in New Issue