summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 00:24:07 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 21:43:31 +0000
commit5cbf2be43acee0f2e6e1baffbd2fc2eee0d316ee (patch)
treeaada7e0dc4744bb3cc9994130222fcb2a7d5d538
parentd056d8780619d4ad65956a78cbea441308d1a77a (diff)
ec/clevo/it5570e/acpi: Replace Index(a, b) with ASL 2.0 syntax
Replace `Index (FOO, 1337)` with `FOO[1337]`. Change-Id: If035eac6b6eb06f79eb6596364bc41069ba42f70 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70532 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/ec/clevo/it5570e/acpi/hid.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/clevo/it5570e/acpi/hid.asl b/src/ec/clevo/it5570e/acpi/hid.asl
index 10d23f5330..945e28580d 100644
--- a/src/ec/clevo/it5570e/acpi/hid.asl
+++ b/src/ec/clevo/it5570e/acpi/hid.asl
@@ -48,7 +48,7 @@ Device (HIDD)
Case (3)
{
/* Driver status */
- HRDY = DeRefOf (Index (Arg3, 0))
+ HRDY = DeRefOf (Arg3[0])
}
Case (4)
{