]> 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)
commitcc25592caa5dfbb3ae17ef616a8c8f2e910ae549
tree68702df299f134bdfe6966ff312326d7175e7b8a
parentd2efa81dd8ba50b800accb3ef2b73474e5af9648
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