Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60509 )
Change subject: drivers/intel/gma/acpi: Replace Add(a,b) with ASL 2.0 syntax ......................................................................
drivers/intel/gma/acpi: Replace Add(a,b) with ASL 2.0 syntax
Replace `Add (a, b)` with `a + b`.
Change-Id: I9d9f1d04f39ffd420655d9297b01b8811339ad08 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60509 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/drivers/intel/gma/acpi/configure_brightness_levels.asl 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index 3581f4d..c168d63 100644 --- a/src/drivers/intel/gma/acpi/configure_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl @@ -100,7 +100,7 @@ /* Divide round closest */ Method (DRCL, 2) { - Return (Divide (Add (Arg0, Divide (Arg1, 2)), Arg1)) + Return (Divide (Arg0 + Divide (Arg1, 2), Arg1)) }
Method (XBCM, 1, NotSerialized) @@ -124,7 +124,7 @@ While (LLess (Local1, SizeOf (BRIG) - 1)) { /* Local[23]: adjacent values in BRIG */ Store (DeRefOf (BRIG[Local1]), Local2) - Store (DeRefOf (BRIG[Add (Local1, 1)]), Local3) + Store (DeRefOf (BRIG[Local1 + 1]), Local3)
If (LLess (Local0, Local3)) { If (LOr (LLess (Local0, Local2), LLess (Local0 - Local2, Local3 - Local0))) {
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.