libnvdimm, pmem, pfn: move pfn setup to the core
authorDan Williams <dan.j.williams@intel.com>
Tue, 22 Mar 2016 07:29:43 +0000 (00:29 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 19:26:23 +0000 (12:26 -0700)
commitac515c084be9b3995f7aef0ae87797e75e0260f0
treefd4803d8c5b720b5647686cc70b048ee69223172
parent200c79da824c978fcf6eec1dc9c0a1e521133267
libnvdimm, pmem, pfn: move pfn setup to the core

Now that pmem internals have been disentangled from pfn setup, that code
can move to the core.  This is in preparation for adding another user of
the pfn-device capabilities.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/nd.h
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pmem.c