ec/google/chromeec/acpi: Replace Add(a,b,c) with ASL 2.0 syntax
Replace `Add (a, b, c)` with `c = a + b`. Change-Id: Iaa79ea4bdb4a33fd2445ae9033c740dacc090037 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60484 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
		@@ -198,7 +198,7 @@ Device (EC0)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		/* Adjust by offset to get Kelvin */
 | 
			
		||||
		Add (\_SB.PCI0.LPCB.EC0.TOFS, Local0, Local0)
 | 
			
		||||
		Local0 += \_SB.PCI0.LPCB.EC0.TOFS
 | 
			
		||||
 | 
			
		||||
		/* Convert to 1/10 Kelvin */
 | 
			
		||||
		Multiply (Local0, 10, Local0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user