diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:05 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 15:42:23 +0200 |
commit | 6c552ceabf39797fba1d3088af9481511f02393f (patch) | |
tree | 8471b1385a3a591a970b280a880d964d80d87e5c /drivers/nvdimm/btt.h | |
parent | md: convert to blk_alloc_disk/blk_cleanup_disk (diff) | |
download | linux-6c552ceabf39797fba1d3088af9481511f02393f.tar.xz linux-6c552ceabf39797fba1d3088af9481511f02393f.zip |
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>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvdimm/btt.h')
0 files changed, 0 insertions, 0 deletions