]> www.infradead.org Git - users/hch/block.git/commit
nvdimm-blk: convert to blk_alloc_disk/blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Apr 2021 14:37:57 +0000 (16:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 16:44:37 +0000 (18:44 +0200)
commitc65da87c3df34fe5afb4aadd91f480cd5764f65c
treee928d379a3481065180c76f593a2377381a48f60
parentf7960639cbee5bc1f1ae3413ded68edf8bd47ee1
nvdimm-blk: convert to blk_alloc_disk/blk_cleanup_disk

Convert the nvdimm-blk driver to use the blk_alloc_disk and
blk_cleanup_disk helpers to simplify gendisk and request_queue
allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvdimm/blk.c