]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jun 2021 06:03:43 +0000 (08:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:04 +0000 (15:34 -0600)
commitc97bd0f6e81f9f00963c6975d4e5b1c1e9d722da
tree68702df299f134bdfe6966ff312326d7175e7b8a
parenta7c621b89c4318fae4c852f6407cd2d5fb42a9f9
mtip32xx: use blk_mq_alloc_disk and blk_cleanup_disk

Use blk_mq_alloc_disk and blk_cleanup_disk to simplify the gendisk and
request_queue allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210614060343.3965416-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c