]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libnvdimm, btt, convert nd_btt_probe() to devm
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Mar 2016 01:23:09 +0000 (18:23 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 17:59:54 +0000 (10:59 -0700)
commite32bc729a3a486e20443db3379ecf67240b20616
tree1d4e0b6dd686eb88766581cce79b59ab04266284
parentbd032943b5b2b336994171dcebc11531a38b45ba
libnvdimm, btt, convert nd_btt_probe() to devm

Pass the device performing the probe so we can use a devm allocation for
the btt superblock.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/blk.c
drivers/nvdimm/btt.c
drivers/nvdimm/btt_devs.c
drivers/nvdimm/nd.h
drivers/nvdimm/pmem.c