scsi_transport_fc: Introduce scsi_host_{get,put}()
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Nov 2015 21:33:04 +0000 (13:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 30 Nov 2015 22:43:55 +0000 (17:43 -0500)
commit4cd38e388d547807e89b4bc51a57bdd5fc5ef7df
treeb54f8212b72e0a7b15d78331a3b0a2579825f5f7
parentfa785f0a984d863a24d2f288b68757188a50261b
scsi_transport_fc: Introduce scsi_host_{get,put}()

Use scsi_host_{get,put}() instead of open-coding these functions.
Compile-tested only.

[mkp: Dropped CC:stable and fixed James Smart's email address]

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: James Smart <james.smart@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_fc.c