diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-18 03:08:28 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-22 19:26:22 (GMT) |
commit | d29cee120eb890027c69f5fe7cce8bd6a663900a (patch) | |
tree | d427aa25124dc9a83002432d92d8063874c7b5a8 /arch | |
parent | e32bc729a3a486e20443db3379ecf67240b20616 (diff) | |
download | linux-d29cee120eb890027c69f5fe7cce8bd6a663900a.tar.xz |
libnvdimm, blk: use devm_add_action to release bdev resources
Register a callback to clean up the request_queue and put the gendisk at
driver disable time.
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions