-
Dan Williams authored
We have had a couple bugs in this implementation in the past and before we add another ->notify() implementation for nvdimm devices, lets allow this routine to be exercised via nfit_test. Rewrite acpi_nfit_notify() in terms of a generic struct device and acpi_handle parameter, and then implement a mock acpi_evaluate_object() that returns a _FIT payload. Cc: Vishal Verma <vishal.l.verma@intel.com> Reviewed-by:
Vishal Verma <vishal.l.verma@intel.com> Acked-by:
Rafael J. Wysocki <rafael@kernel.org> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
c14a868a