Revert "ACPI / PM: LPIT: Register sysfs attributes based on FADT"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 Jul 2022 17:33:22 +0000 (19:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jul 2022 18:04:07 +0000 (20:04 +0200)
commit403dbe3a5383d1e1bbcbe03d9fa6df0216e26102
treed8ab4a91923c90fe8346ea3b084011d566face1f
parented470febf837dfb117601f0df058dcab02c8c570
Revert "ACPI / PM: LPIT: Register sysfs attributes based on FADT"

Revert commit 1cdda9486f51 ("ACPI / PM: LPIT: Register sysfs attributes
based on FADT"), because what it did was more confusing than it would
be to allow the sysfs attributes in question to be created regardless
of whether or not the relevant flag was set in the FADT.

If ACPI_FADT_LOW_POWER_S0 is not set, it need not mean that LPIT is
invalid and low-power S0 idle is not usable.  It merely means that
using S3 on the given system is more beneficial from the energy
saving perspective than using low-power S0 idle.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/acpi/acpi_lpit.c