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
..
2008-04-07 12:19:08 -05:00
2011-03-31 11:26:23 -03:00
2008-04-07 12:19:08 -05:00
2016-04-18 11:23:24 +02:00
2008-04-07 12:19:08 -05:00
2014-11-27 16:40:24 +01:00
2011-03-17 14:05:35 +01:00