Searched hist:"6 cf9c5ba" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/nvdimm/ |
H A D | bus.c | 6cf9c5ba Wed May 18 11:13:13 CDT 2016 Dan Williams <dan.j.williams@intel.com> 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> 6cf9c5ba Wed May 18 11:13:13 CDT 2016 Dan Williams <dan.j.williams@intel.com> 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>
|