nvdimm: do not show pfn_seed for non pmem regions
authorDmitry Krivenok <krivenok.dmitry@gmail.com>
Wed, 2 Dec 2015 06:39:29 +0000 (09:39 +0300)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Dec 2015 00:27:30 +0000 (16:27 -0800)
commit6bb691ac089c39bb0aa73bdcc21ffd8c846e4ba5
tree3b09b9aad08d0eb874557c939b1091cb75522282
parentbd26d0d0ce7434a86dde61a7c65c94fe3801d8f6
nvdimm: do not show pfn_seed for non pmem regions

This simple change hides pfn_seed attribute for non pmem
regions because they don't support pfn anyway.

Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/region_devs.c