ec/quanta/it8518/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual(a, b)` with `a == b`. Change-Id: I6732fd876524feab924a58434bec381dcdb87bce Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60663 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
		@@ -63,12 +63,12 @@ Device (BATX)
 | 
				
			|||||||
	Method (WAEC)
 | 
						Method (WAEC)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		Store (20, Local0)	// Timeout 100 msec
 | 
							Store (20, Local0)	// Timeout 100 msec
 | 
				
			||||||
		While (LEqual (HSID, Zero))
 | 
							While (HSID == 0)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			// EC Is not ready
 | 
								// EC Is not ready
 | 
				
			||||||
			Sleep (5)
 | 
								Sleep (5)
 | 
				
			||||||
			Local0--
 | 
								Local0--
 | 
				
			||||||
			If (LEqual (Local0, Zero))
 | 
								If (Local0 == 0)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				Break
 | 
									Break
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
@@ -233,7 +233,7 @@ Device (BATX)
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Set critical flag if battery is empty
 | 
							// Set critical flag if battery is empty
 | 
				
			||||||
		If (LEqual (And (HB0S, 0x0F), 0))
 | 
							If (And (HB0S, 0x0F) == 0)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			Or (Local0, 4, Local0)
 | 
								Or (Local0, 4, Local0)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user