[PATCH] acpi, nfit: rework NVDIMM leaf method detection