commit | 71cfdd0bad3ad91680e6b82cac634154cf56376e | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <jthumshirn@suse.de> | Wed Mar 14 19:25:06 2018 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Mar 15 07:17:21 2018 -0700 |
tree | 6eb9fe253a8fa414bd87a20bda10843828a5ebe1 | |
parent | 1526f9e2ac1df62106c15a18fd6895258c579c90 [diff] |
libnvdimm: provide module_nd_driver wrapper Provide a module_nd_driver() wrapper over simple nd_driver_register() nd_driver_unregister() combinations in module_init() and module_exit() respectively. Note an explicit nd_driver_unregister() had to be implemented as nd bus drivers did call device_unregister() direcly in the module_exit() function. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>