nfit, tools/testing/nvdimm: unify common init for acpi_nfit_desc
authorDan Williams <dan.j.williams@intel.com>
Fri, 19 Feb 2016 20:29:32 +0000 (12:29 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 20:24:06 +0000 (12:24 -0800)
commita61fe6f7902ecaa89d5e6c709490fc4324927134
tree6fb3643c2069e7e2832f12eeaaabb1b20a434428
parent719994660c249a086a7493205c7f1562e30c38cb
nfit, tools/testing/nvdimm: unify common init for acpi_nfit_desc

The nvdimm unit test infrastructure performs its own initialization of
an acpi_nfit_desc to specify test overrides over the native
implementation.  Make it clear which attributes and operations it is
overriding by re-using acpi_nfit_init_desc() as a common starting point.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/acpi/nfit.h
tools/testing/nvdimm/test/nfit.c