diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-10-31 19:14:08 +0200 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-11-06 13:35:06 +0800 |
commit | 24109bba6a4f81774e384c15c2e8a4d47791455f (patch) | |
tree | 3fc99fb88b4659437b60f407b29b15baff751979 /arch/x86/include/asm/arch-tangier | |
parent | 5ef76e59c12c79d106ebda70b710468aa6bd8b75 (diff) |
x86: acpi: Remove redundant Offset (0x00)
New ACPI assembler issues a warning:
board/intel/edison/dsdt.asl.tmp 13: Offset (0x00),
Remark 2158 - ^ Unnecessary/redundant use of Offset operator
Indeed, in the OperationRegion the offset is 0x00 by default.
Thus, drop unneeded Offset() use as suggested by ACPI assembler.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/arch-tangier')
-rw-r--r-- | arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl b/arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl index a6296c2cb6..895b807e96 100644 --- a/arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl +++ b/arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl @@ -10,6 +10,5 @@ OperationRegion(GNVS, SystemMemory, ACPI_GNVS_ADDR, ACPI_GNVS_SIZE) Field(GNVS, ByteAcc, NoLock, Preserve) { - Offset (0x00), PCNT, 8, /* processor count */ } |