summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:57:35 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:09:22 +0000
commit105d1185bb723aefea08a77ab47ad4c464643eb2 (patch)
tree4dc0153885ed4a5f0fa5e013e19f72a77f3411ad /src
parente18277a998c56623c10ca6af441fd4c61afb8b10 (diff)
mb/google/slippy/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`. Change-Id: I61ef7b53e851f4c2367cba43ff76b200e9490ad2 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60705 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/slippy/acpi/platform.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/slippy/acpi/platform.asl b/src/mainboard/google/slippy/acpi/platform.asl
index 2813078469..010ee9bae3 100644
--- a/src/mainboard/google/slippy/acpi/platform.asl
+++ b/src/mainboard/google/slippy/acpi/platform.asl
@@ -16,14 +16,14 @@ Method(_WAK,1)
{
/* Update AC status */
Store (\_SB.PCI0.LPCB.EC0.ACEX, Local0)
- if (LNotEqual (Local0, \PWRS)) {
+ if (Local0 != \PWRS) {
Store (Local0, \PWRS)
Notify (\_SB.PCI0.LPCB.EC0.AC, 0x80)
}
/* Update LID status */
Store (\_SB.PCI0.LPCB.EC0.LIDS, Local0)
- if (LNotEqual (Local0, \LIDS)) {
+ if (Local0 != \LIDS) {
Store (Local0, \LIDS)
Notify (\_SB.PCI0.LPCB.EC0.LID0, 0x80)
}