diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:23 -0600 |
commit | 87eb73b2ca7c1b913e84d6efe46810fd301e7a66 (patch) | |
tree | c6cf1baeb387d2a95877fadc6024298899b4a3f3 /drivers/nvme | |
parent | d4e4e5835f29fa1a1dcdecc5bea125050274d0f6 (diff) |
nvdimm-pmem: convert to blk_alloc_disk/blk_cleanup_disk
Convert the nvdimm-pmem 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>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions