libnvdimm, region: move region-mapping input-paramters to nd_mapping_desc
authorDan Williams <dan.j.williams@intel.com>
Mon, 19 Sep 2016 23:38:50 +0000 (16:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 1 Oct 2016 02:13:42 +0000 (19:13 -0700)
commit44c462eb9e19dfa089b454271dd2dff5eaf1ad6d
tree4973b6ac54b002b340e1c5a863a982048b2f7c1f
parente046114af5fcafe8d6d3f0b6ccb99804bad34bfb
libnvdimm, region: move region-mapping input-paramters to nd_mapping_desc

Before we add more libnvdimm-private fields to nd_mapping make it clear
which parameters are input vs libnvdimm internals. Use struct
nd_mapping_desc instead of struct nd_mapping in nd_region_desc and make
struct nd_mapping private to libnvdimm.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/nvdimm/nd.h
drivers/nvdimm/region_devs.c
include/linux/libnvdimm.h