OpenCloudOS-Kernel/drivers/block/rsxx
Christoph Hellwig 0be7966e7e rsxx: convert to blk_alloc_disk/blk_cleanup_disk
Convert the rsxx driver to use the blk_alloc_disk and blk_cleanup_disk
helpers to simplify gendisk and request_queue allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-06-01 07:42:23 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
config.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
core.c rsxx: remove extraneous 'const' qualifier 2021-03-24 06:56:20 -06:00
cregs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
dev.c rsxx: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00
dma.c rsxx: remove redundant NULL check 2021-01-26 13:15:41 -07:00
rsxx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
rsxx_cfg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
rsxx_priv.h rsxx: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00