dax: convert devm_create_dax_dev to PTR_ERR
authorDan Williams <dan.j.williams@intel.com>
Wed, 20 Jul 2016 00:51:40 +0000 (17:51 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 Oct 2016 23:45:59 +0000 (16:45 -0700)
commitd76911ee933a64c9dfc453e580e7ad612b394e83
treedad6ced4a5968e946e2bec11b9e76b4518f199d9
parent9d2d01a031a945075d4609b1c4d3c73f10ba61e7
dax: convert devm_create_dax_dev to PTR_ERR

For sub-division support we need access to the dax_dev created by
devm_create_dax_dev().

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.c
drivers/dax/dax.h
drivers/dax/pmem.c