Skip to content
Commit ebd84d72 authored by Dan Williams's avatar Dan Williams
Browse files

dax: embed a struct device in dax_dev



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: default avatarDan Williams <dan.j.williams@intel.com>
parent af69f51e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment