linux/drivers/scsi/mvsas
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 <john.garry@huawei.com>
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-06-20 15:37:02 -04:00
..
Kconfig
Makefile
mv_64xx.c scsi: mvsas: clean up a few indentation issues 2019-03-19 17:13:37 -04:00
mv_64xx.h
mv_94xx.c scsi: mvsas: clean up a few indentation issues 2019-03-19 17:13:37 -04:00
mv_94xx.h
mv_chips.h
mv_defs.h
mv_init.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
mv_sas.c scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00
mv_sas.h scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00