scsi: libsas: Add helper for port add ex_phy
authorXingui Yang <yangxingui@huawei.com>
Tue, 12 Mar 2024 14:11:00 +0000 (14:11 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 20 Apr 2024 14:38:43 +0000 (10:38 -0400)
commit888ea1b12b06906da717b5aceabfaf0a84d1766b
tree7fbb809a11830973b123220d4a4a5c56d052fb12
parent4cece764965020c22cff7665b18a012006359095
scsi: libsas: Add helper for port add ex_phy

This moves the process of adding ex_phy to a port into a new helper.

Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Link: https://lore.kernel.org/r/20240312141103.31358-2-yangxingui@huawei.com
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_expander.c