coreboot-kgpe-d16/src/ec
Elyes HAOUAS 48a6c018bc src: Remove redundant use of ACPI offset(0)
IASL version 20180927 and greater, detects Unnecessary/redundant uses of
the Offset() operator within a Field Unit list.
It then sends a remark "^ Unnecessary/redundant use of Offset"

example:
    OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
    Field (OPR1)
    {
        Offset (0),     // Never needed
        FLD1, 32,
        Offset (4),     // Redundant, offset is already 4 (bytes)
        FLD2, 8,
        Offset (64),    // OK use of Offset.
        FLD3, 16,
    }

We will have those remarks:
dsdt.asl     14:         Offset (0),
Remark   2158 -                 ^ Unnecessary/redundant use of Offset operator

dsdt.asl     16:         Offset (4),
Remark   2158 -                 ^ Unnecessary/redundant use of Offset operator

Change-Id: I260a79ef77025b4befbccc21f5999f89d90c1154
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43283
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-03 00:05:52 +00:00
..
51nb/npce985la0dx src: Remove unneeded space in license header 2020-07-26 21:07:36 +00:00
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
compal/ene932 src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
google src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
hp/kbc1126 ec/hp/kbc1126: Support using a different GPE 2020-11-02 06:08:54 +00:00
kontron ec/kontron/kempld: Reflow long lines 2020-10-11 11:19:07 +00:00
lenovo src/ec: Drop unneeded empty lines 2020-09-11 17:07:03 +00:00
purism/librem ec/purism/librem/ec.asl: End comment 2020-11-09 07:28:53 +00:00
quanta src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
roda/it8518 src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
smsc/mec1308 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
system76/ec ec/system76/ec: Add battery charging thresholds 2020-11-02 06:23:36 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00