diff options
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | 2018-09-25 23:53:07 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-09-26 22:02:32 +0300 |
commit | 1a091d16dbff6d373c5335e08316756e6c39f048 (patch) | |
tree | f2fa0f9a0f1460ad40eb2d3d776fdfeba69bb165 /drivers/nvdimm/pfn_devs.c | |
parent | b6eae0f61db27748606cc00dafcfd1e2c032f0a5 (diff) | |
download | linux-1a091d16dbff6d373c5335e08316756e6c39f048.tar.xz |
libnvdimm: Set device node in nd_device_register
This change makes it so that we don't repeatedly overwrite the device node
for nvdimm regions. The earliest we can set the node is immediately after
calling device init, so I have moved the code there so we can avoid
rewriting the node with each uevent.
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/pfn_devs.c')
0 files changed, 0 insertions, 0 deletions