diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 02:49:59 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:02:32 +0000 |
commit | cc03951016f37c9dc9e63c03836e8483e358bb7f (patch) | |
tree | c3a09c043de49d5340631f737f627a5eeca61754 /src/ec/lenovo | |
parent | c253368e46c2194a73051d46ee40e1098bf26be2 (diff) |
ec/lenovo/h8/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`.
Change-Id: Ic114e097a08488106554ce2dec61fa219d7cf1d0
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60700
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/lenovo')
-rw-r--r-- | src/ec/lenovo/h8/acpi/thinkpad.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl index 23c1e027c2..7bf83b5690 100644 --- a/src/ec/lenovo/h8/acpi/thinkpad.asl +++ b/src/ec/lenovo/h8/acpi/thinkpad.asl @@ -35,13 +35,13 @@ Device (HKEY) Method (MHKP, 0, NotSerialized) { Store (BTN, Local0) - If (LNotEqual (Local0, Zero)) { + If (Local0 != 0) { Store (Zero, BTN) Local0 += 0x1000 Return (Local0) } Store (BTAB, Local0) - If (LNotEqual (Local0, Zero)) { + If (Local0 != 0) { Store (Zero, BTAB) Local0 += 0x5000 Return (Local0) |