aboutsummaryrefslogtreecommitdiff
path: root/drivers/dax/pmem.c
diff options
context:
space:
mode:
authorDan Williams2017-07-14 13:54:50 -0700
committerDan Williams2019-01-06 21:24:46 -0800
commit753a0850e707e9a8c5861356222f9b9e4eba7945 (patch)
tree8c7e75e158b5debb5d31cdfce8e86d173e55084a /drivers/dax/pmem.c
parent93694f9630b0ed29cda61df58e480dcb34ef52fd (diff)
device-dax: Remove multi-resource infrastructure
The multi-resource implementation anticipated discontiguous sub-division support. That has not yet materialized, delete the infrastructure and related code. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/pmem.c')
-rw-r--r--drivers/dax/pmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dax/pmem.c b/drivers/dax/pmem.c
index 72a76105eb02..6c61a019f997 100644
--- a/drivers/dax/pmem.c
+++ b/drivers/dax/pmem.c
@@ -129,8 +129,7 @@ static int dax_pmem_probe(struct device *dev)
if (!dax_region)
return -ENOMEM;
- /* TODO: support for subdividing a dax region... */
- dev_dax = devm_create_dev_dax(dax_region, id, &res, 1);
+ dev_dax = devm_create_dev_dax(dax_region, id);
/* child dev_dax instances now own the lifetime of the dax_region */
dax_region_put(dax_region);