scsi: dpt_i2o: stop using scsi_unregister
commit38e09e3bb056b90d70308fe1e3db387ef976ce6e
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Mar 2018 11:48:23 +0000 (14 12:48 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Mar 2018 04:25:37 +0000 (15 00:25 -0400)
tree091239c7b46390b73c53b2f1aaacd86664713669
parent6b1745caa14ae0afccf1c6ee4c814fd8d5df3dcd
scsi: dpt_i2o: stop using scsi_unregister

dpt_i2o doesn't use scsi_register, so it should not use scsi_unregister
either.  Also refactor the module exit path to make a little more sense.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/dpt_i2o.c
drivers/scsi/dpti.h