ec/starlabs/merlin/acpi: Replace Index() with ASL 2.0 syntax

Replace `Index (FOO, 0)` with `FOO[0]`.

Change-Id: I88cb974ed808b602a9398c9c3e363cb145420528
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60561
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Felix Singer 2021-12-31 10:49:19 +01:00
parent 0d92ec872f
commit 621744b85f
1 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ Device (HIDD) // HID Device
// //
Case (0x03) Case (0x03)
{ {
HDSM (DeRefOf(Index(Arg3, 0x00))) HDSM (DeRefOf(Arg3[0]))
} }
// //
// Function 4, HDEM. HID Driver Event Method. // Function 4, HDEM. HID Driver Event Method.
@ -332,7 +332,7 @@ Device (HIDD) // HID Device
// //
Case (0x06) Case (0x06)
{ {
BTNE (DeRefOf(Index(Arg3, 0x00))) BTNE (DeRefOf(Arg3[0]))
} }
// //
// Function 7 HEBC. Button implemented state. // Function 7 HEBC. Button implemented state.