From fa06bcba06c5842faae797629e9f72ec28d511c0 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:32:47 +0100 Subject: mainboard/acpi: Replace constant "Zero" with actual number Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/system76/kbl-u/acpi/hid.asl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/mainboard/system76/kbl-u/acpi/hid.asl') diff --git a/src/mainboard/system76/kbl-u/acpi/hid.asl b/src/mainboard/system76/kbl-u/acpi/hid.asl index 8bbb65bc45..eb5f420cce 100644 --- a/src/mainboard/system76/kbl-u/acpi/hid.asl +++ b/src/mainboard/system76/kbl-u/acpi/hid.asl @@ -3,19 +3,19 @@ Device (HIDD) { Name (_HID, "INT33D5") - Name (HBSY, Zero) - Name (HIDX, Zero) - Name (HRDY, Zero) + Name (HBSY, 0) + Name (HIDX, 0) + Name (HRDY, 0) Method (HDEM, 0, Serialized) { - HBSY = Zero + HBSY = 0 Return (HIDX) } Method (HDMM, 0, Serialized) { - Return (Zero) + Return (0) } Method (HDSM, 1, Serialized) @@ -29,7 +29,7 @@ Device (HIDD) HIDX = Arg0 Notify (HIDD, 0xC0) - Local0 = Zero + Local0 = 0 While ((Local0 < 0xFA) && HBSY) { Sleep (0x04) @@ -38,13 +38,13 @@ Device (HIDD) If (HBSY == 1) { - HBSY = Zero - HIDX = Zero + HBSY = 0 + HIDX = 0 Return (1) } Else { - Return (Zero) + Return (0) } } } -- cgit v1.2.3