bsg: provide bsg_remove_queue() helper
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Oct 2018 17:27:02 +0000 (11:27 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 20:42:32 +0000 (13:42 -0700)
commit5e28b8d8a1b03ce86f33d38a64a4983d2b5c7679
tree382c53cb1bda1974b9a29917a78c6fa59b41350c
parentaae3b069d5ce865ca5ef2902c2a22cef7ab4f3a2
bsg: provide bsg_remove_queue() helper

All drivers do unregister + cleanup, provide a helper for that.

Cc: linux-scsi@vger.kernel.org
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bsg-lib.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/scsi_transport_sas.c
drivers/scsi/ufs/ufs_bsg.c
include/linux/bsg-lib.h