[PATCH 3/4] dax: convert devm_create_dax_dev to PTR_ERR

2016-08-16 Thread Dan Williams
For sub-division support we need access to the dax_dev created by devm_create_dax_dev(). Signed-off-by: Dan Williams --- drivers/dax/dax.c | 16 ++-- drivers/dax/dax.h |5 +++-- drivers/dax/pmem.c |5 +++-- 3 files changed, 16 insertions(+), 10

[PATCH 3/4] dax: convert devm_create_dax_dev to PTR_ERR

2016-08-16 Thread Dan Williams
For sub-division support we need access to the dax_dev created by devm_create_dax_dev(). Signed-off-by: Dan Williams --- drivers/dax/dax.c | 16 ++-- drivers/dax/dax.h |5 +++-- drivers/dax/pmem.c |5 +++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git