ec/smsc/mec1308/acpi: Replace LLessEqual(a,b) with ASL 2.0 syntax

Replace `LLessEqual(a, b)` with `a <= b`.

Change-Id: Ib4e81ea95c6fda0e8f8640671db5ce56f3a1b474
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60707
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
Felix Singer 2022-01-02 03:54:23 +01:00
parent 9bfbbe8b17
commit cdba42c69c
1 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@ Device (EC0)
PowerResource (FNP0, 0, 0)
{
Method (_STA) {
If (LLessEqual (\FLVL, 0)) {
If (\FLVL <= 0) {
Return (One)
} Else {
Return (Zero)
@ -100,7 +100,7 @@ Device (EC0)
PowerResource (FNP1, 0, 0)
{
Method (_STA) {
If (LLessEqual (\FLVL, 1)) {
If (\FLVL <= 1) {
Return (One)
} Else {
Return (Zero)
@ -125,7 +125,7 @@ Device (EC0)
PowerResource (FNP2, 0, 0)
{
Method (_STA) {
If (LLessEqual (\FLVL, 2)) {
If (\FLVL <= 2) {
Return (One)
} Else {
Return (Zero)
@ -150,7 +150,7 @@ Device (EC0)
PowerResource (FNP3, 0, 0)
{
Method (_STA) {
If (LLessEqual (\FLVL, 3)) {
If (\FLVL <= 3) {
Return (One)
} Else {
Return (Zero)
@ -175,7 +175,7 @@ Device (EC0)
PowerResource (FNP4, 0, 0)
{
Method (_STA) {
If (LLessEqual (\FLVL, 4)) {
If (\FLVL <= 4) {
Return (One)
} Else {
Return (Zero)