summaryrefslogtreecommitdiffstats
path: root/drivers/dax/pmem.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-07-19 15:57:44 -0700
committerDan Williams <dan.j.williams@intel.com>2019-01-06 21:24:46 -0800
commit93694f9630b0ed29cda61df58e480dcb34ef52fd (patch)
tree7f7fff99c1017d664559d771c8bdd28503881a53 /drivers/dax/pmem.c
parent21b9e979501fdb5f6797193d70428a2b00bd5247 (diff)
downloadlinux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.gz
linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.bz2
linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.zip
device-dax: Kill dax_region base
Nothing consumes this attribute of a region and devres otherwise remembers the value for de-allocation purposes. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/pmem.c')
-rw-r--r--drivers/dax/pmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/pmem.c b/drivers/dax/pmem.c
index 2c1f459c0c63..72a76105eb02 100644
--- a/drivers/dax/pmem.c
+++ b/drivers/dax/pmem.c
@@ -125,7 +125,7 @@ static int dax_pmem_probe(struct device *dev)
return -EINVAL;
dax_region = alloc_dax_region(dev, region_id, &res,
- le32_to_cpu(pfn_sb->align), addr, PFN_DEV|PFN_MAP);
+ le32_to_cpu(pfn_sb->align), PFN_DEV|PFN_MAP);
if (!dax_region)
return -ENOMEM;