diff options
author | Dan Williams | 2017-07-14 13:54:50 -0700 |
---|---|---|
committer | Dan Williams | 2019-01-06 21:24:46 -0800 |
commit | 753a0850e707e9a8c5861356222f9b9e4eba7945 (patch) | |
tree | 8c7e75e158b5debb5d31cdfce8e86d173e55084a /drivers/dax/pmem.c | |
parent | 93694f9630b0ed29cda61df58e480dcb34ef52fd (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.c | 3 |
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); |