mb/google/jecht/acpi: Replace LNot() with ASL 2.0 syntax
Replace `LNot (a)` with `!a`. Change-Id: I4a9165b4610d7d035509b7f10eed0d9847afca1f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60598 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
@@ -165,7 +165,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (0, \FLVL)
|
||||
Store (FAN0_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -192,7 +192,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (1, \FLVL)
|
||||
Store (FAN1_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -219,7 +219,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (2, \FLVL)
|
||||
Store (FAN2_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -246,7 +246,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (3, \FLVL)
|
||||
Store (FAN3_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -273,7 +273,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (4, \FLVL)
|
||||
Store (FAN4_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
|
@@ -165,7 +165,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (0, \FLVL)
|
||||
Store (FAN0_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -192,7 +192,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (1, \FLVL)
|
||||
Store (FAN1_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -219,7 +219,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (2, \FLVL)
|
||||
Store (FAN2_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -246,7 +246,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (3, \FLVL)
|
||||
Store (FAN3_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -273,7 +273,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (4, \FLVL)
|
||||
Store (FAN4_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
|
@@ -165,7 +165,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (0, \FLVL)
|
||||
Store (FAN0_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -192,7 +192,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (1, \FLVL)
|
||||
Store (FAN1_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -219,7 +219,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (2, \FLVL)
|
||||
Store (FAN2_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -246,7 +246,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (3, \FLVL)
|
||||
Store (FAN3_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -273,7 +273,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (4, \FLVL)
|
||||
Store (FAN4_PWM,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
|
@@ -273,7 +273,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (0, \FLVL)
|
||||
Store (F0PW,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -300,7 +300,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (1, \FLVL)
|
||||
Store (F1PW,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -327,7 +327,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (2, \FLVL)
|
||||
Store (F2PW,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -354,7 +354,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (3, \FLVL)
|
||||
Store (F3PW,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
@@ -381,7 +381,7 @@ Scope (\_TZ)
|
||||
}
|
||||
}
|
||||
Method (_ON) {
|
||||
If (LNot (_STA ())) {
|
||||
If (! _STA ()) {
|
||||
Store (4, \FLVL)
|
||||
Store (F4PW,
|
||||
\_SB.PCI0.LPCB.SIO.ENVC.F2PS)
|
||||
|
Reference in New Issue
Block a user