mmc: switch to blk_mq_alloc_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Jun 2021 05:39:34 +0000 (07:39 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:04 +0000 (15:34 -0600)
commit607d968a5769d8eef20ece19b84937f9c2676491
treea2f78af3a8f7b8c1a94f0ec571331a165fd135af
parent249cda3325e0ff35dd8af9b5885f3aaf4ddd165d
mmc: switch to blk_mq_alloc_disk

Use the blk_mq_alloc_disk to allocate the request_queue and gendisk
together.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210616053934.880951-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/block.c
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h