diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-05-21 21:33:04 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-05-21 21:33:04 +0200 |
commit | 36092ee8ba695fce023b2118ececa6c2a56b1331 (patch) | |
tree | b9579893cdd559e7b72fa569003b19792de58fad /drivers/nvdimm/dimm_devs.c | |
parent | Merge branch 'for-4.7/acpi6.1' into libnvdimm-for-next (diff) | |
parent | libnvdimm, dax: fix deletion (diff) | |
download | linux-36092ee8ba695fce023b2118ececa6c2a56b1331.tar.xz linux-36092ee8ba695fce023b2118ececa6c2a56b1331.zip |
Merge branch 'for-4.7/dax' into libnvdimm-for-next
Diffstat (limited to 'drivers/nvdimm/dimm_devs.c')
-rw-r--r-- | drivers/nvdimm/dimm_devs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/nvdimm/dimm_devs.c b/drivers/nvdimm/dimm_devs.c index 79a35a02053c..bbde28d3dec5 100644 --- a/drivers/nvdimm/dimm_devs.c +++ b/drivers/nvdimm/dimm_devs.c @@ -552,3 +552,8 @@ int nvdimm_bus_check_dimm_count(struct nvdimm_bus *nvdimm_bus, int dimm_count) return 0; } EXPORT_SYMBOL_GPL(nvdimm_bus_check_dimm_count); + +void __exit nvdimm_devs_exit(void) +{ + ida_destroy(&dimm_ida); +} |