]> git.baikalelectronics.ru Git - kernel.git/commit
sx8: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 06:53:39 +0000 (09:53 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Jun 2021 17:54:42 +0000 (11:54 -0600)
commit5fa4a90008b5ca1a303fecab5d5eb8c6445a8d0e
tree754c9977d3c5c5980dc14c3ee0f0f92ed384ba2a
parentc62df93b055a16cdb88e7deb24d9e7cb2c5ca3b7
sx8: 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>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-25-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sx8.c