]> www.infradead.org Git - users/hch/block.git/commit
gdrom: use blk_mq_alloc_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Apr 2021 17:28:40 +0000 (19:28 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 27 May 2021 07:43:28 +0000 (09:43 +0200)
commitb37ef3e4f409ca687e5a7eb00694e3cc88c1ee9c
treefcbb998604d9a0f93874e7ef53795589858de49a
parenta4712e49904b42515e16231abc1d49cdb2763cdf
gdrom: use blk_mq_alloc_disk

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/cdrom/gdrom.c