scsi: hisi_sas: add to_hisi_sas_port()
authorJohn Garry <john.garry@huawei.com>
Wed, 22 Mar 2017 17:25:17 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:01 +0000 (11:12 -0400)
commit2e244f0f5bcaa95e8b9006282d7c1ad07605d4fe
tree08f968942036013b6a3adfdad7f539f88a42c051
parentb8e1aa3c72f461a12b350def015cf4bc87960711
scsi: hisi_sas: add to_hisi_sas_port()

Introduce function to get hisi_sas_port from asd_sas_port.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c