device-dax: use module_nd_driver
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 14 Mar 2018 18:25:08 +0000 (19:25 +0100)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Mar 2018 14:18:47 +0000 (07:18 -0700)
commitd812b0d500040b8c7b9c7a93f29be0a010eb09d1
treec3577cd35b354763e407660db01f84bc292d5e84
parent03e908437d007d8a8583c4ea19c737fff2ef6edc
device-dax: use module_nd_driver

Use module_nd_driver() instead of having module_init() and
module_exit() callbacks which just call nd_driver_register() and
nd_driver_unregister().

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