libnvdimm: expose platform persistence attribute for nd_region
authorDave Jiang <dave.jiang@intel.com>
Wed, 31 Jan 2018 19:45:49 +0000 (12:45 -0700)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 1 Feb 2018 22:01:15 +0000 (15:01 -0700)
commit96c3a239054a367d1a18581384985ab9e97c5ce7
tree37c8ddbba2da8a1f8f5c6c9394c340613633fae7
parent30e6d7bf29daa79d80711d35211c9b60894dbc44
libnvdimm: expose platform persistence attribute for nd_region

Providing a sysfs attribute for nd_region that shows the persistence
capabilities for the platform.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
drivers/nvdimm/region_devs.c