x86: tangier: Replace Method() by Name() for _STA object
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Oct 2021 12:51:18 +0000 (15:51 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 01:50:55 +0000 (09:50 +0800)
commitd3023b8139088ddd5953bd0d1955a905925990d5
tree54a68f080541eeaf191058ac7d7adf8845bba623
parentc97bd17b2cfea02c9ef34f889bfb336b7c645cf2
x86: tangier: Replace Method() by Name() for _STA object

There is no point to use Method() for the constant.
Replace it with Name() defined object. For the _STA
case it saves 3 bytes per each entry.

Before: 2881
After: 2833

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-tangier/acpi/southcluster.asl