+45
−85
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The kref in dax_dev can be made redundant if the final put_device() on
the device associated with the dax_dev frees the dax_dev. This can be
accomplished by embedding a struct device in struct dax_dev, open coding
device_create() and specifying a custom release method.
Signed-off-by:
Dan Williams <dan.j.williams@intel.com>