ACPI: utils: Add acpi_reduced_hardware() helper
authorHans de Goede <hdegoede@redhat.com>
Wed, 7 Apr 2021 17:58:20 +0000 (19:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Apr 2021 17:50:12 +0000 (19:50 +0200)
commit8eb99e9a64a07ea08070591bdc2615526a103e62
treee7b14a4d75f6884aca4f78fb352a550d1ed24167
parente49d033bddf5b565044e2abe4241353959bc9120
ACPI: utils: Add acpi_reduced_hardware() helper

Add a getter for the acpi_gbl_reduced_hardware variable so that modules
can check if they are running on an ACPI reduced-hw platform or not.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/utils.c
include/acpi/acpi_bus.h
include/linux/acpi.h