diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-05-18 18:13:13 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-05-18 18:13:13 +0200 |
commit | 6cf9c5babd980ec1959e0dd45e3036474c6a294f (patch) | |
tree | e8a059c5a7d85ab61d918725aae3c5c487762fe2 /tools/testing/nvdimm/Kbuild | |
parent | libnvdimm, dax: record the specified alignment of a dax-device instance (diff) | |
download | linux-6cf9c5babd980ec1959e0dd45e3036474c6a294f.tar.xz linux-6cf9c5babd980ec1959e0dd45e3036474c6a294f.zip |
libnvdimm: stop requiring a driver ->remove() method
The dax_pmem driver was implementing an empty ->remove() method to
satisfy the nvdimm bus driver that unconditionally calls ->remove().
Teach the core bus driver to check if ->remove() is NULL to remove that
requirement.
Reported-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/Kbuild')
0 files changed, 0 insertions, 0 deletions