diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 08:51:06 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 16:42:23 +0300 |
commit | d4e4e5835f29fa1a1dcdecc5bea125050274d0f6 (patch) | |
tree | 39ac52a56e81022862e8c1a13e417cb1d3cfd1d3 /drivers/nvdimm/pmem.c | |
parent | 6c552ceabf39797fba1d3088af9481511f02393f (diff) | |
download | linux-d4e4e5835f29fa1a1dcdecc5bea125050274d0f6.tar.xz |
nvdimm-btt: convert to blk_alloc_disk/blk_cleanup_disk
Convert the nvdimm-btt 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: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvdimm/pmem.c')
0 files changed, 0 insertions, 0 deletions