ACPI: utils: Add api to read _SUB from ACPI
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 7 Jul 2022 15:10:36 +0000 (16:10 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jul 2022 11:35:09 +0000 (12:35 +0100)
commit93064e15c8a3a8394319a11b8037666e4b7d653d
treed79de005f58dc99cbc565c421178b865a1ddb1b4
parent7fb72b7bf167a8047204d30e0e8affe6023363d9
ACPI: utils: Add api to read _SUB from ACPI

Add a wrapper function to read the _SUB string from ACPI.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20220707151037.3901050-2-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/acpi/utils.c
include/linux/acpi.h