Files
linux/drivers/scsi/isci
John Garry 924a3541ea scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander()
Many times in libsas, and in LLDDs which use libsas, the check for an
expander device is re-implemented or open coded.

Use dev_is_expander() instead. We rename this from
sas_dev_type_is_expander() to not spill so many lines in referencing.

Signed-off-by: John Garry <[email protected]>
Reviewed-by: Jason Yan <[email protected]>
Reviewed-by: Jack Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
2019-06-20 15:37:02 -04:00
..
…
…
…
…
…
…
…