cxl/acpi: Convert CFMWS parsing to ACPI sub-table helpers
authorDan Williams <dan.j.williams@intel.com>
Fri, 29 Oct 2021 19:51:48 +0000 (12:51 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 15 Nov 2021 19:02:59 +0000 (11:02 -0800)
commitf4ce1f766f1ebf39161b3b9447a83f4f1dfe593b
treef9561f1678e28989c0d2f862a15c3981c21fe68a
parent2d03e46a4bad20191d07b83ec1242d5f002577be
cxl/acpi: Convert CFMWS parsing to ACPI sub-table helpers

The cxl_acpi driver originally open-coded its table parsing since the
ACPI subtable helpers were marked __init and only used in early NUMA
initialization.  Now that those helpers have been exported for driver
usage replace the open-coded solution with the common one.

Cc: Alison Schofield <alison.schofield@intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/163553710810.2509508.14686373989517930921.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/Kconfig
drivers/cxl/acpi.c