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:
parent
0d92ec872f
commit
621744b85f
|
@ -303,7 +303,7 @@ Device (HIDD) // HID Device
|
|||
//
|
||||
Case (0x03)
|
||||
{
|
||||
HDSM (DeRefOf(Index(Arg3, 0x00)))
|
||||
HDSM (DeRefOf(Arg3[0]))
|
||||
}
|
||||
//
|
||||
// Function 4, HDEM. HID Driver Event Method.
|
||||
|
@ -332,7 +332,7 @@ Device (HIDD) // HID Device
|
|||
//
|
||||
Case (0x06)
|
||||
{
|
||||
BTNE (DeRefOf(Index(Arg3, 0x00)))
|
||||
BTNE (DeRefOf(Arg3[0]))
|
||||
}
|
||||
//
|
||||
// Function 7 HEBC. Button implemented state.
|
||||
|
|
Loading…
Reference in New Issue