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
..
2019-05-15 08:58:49 -07:00
2019-05-08 21:35:19 -07:00
2019-05-16 08:38:17 -07:00
2019-04-08 15:58:54 -07:00
2019-05-16 11:57:16 -07:00
2019-05-16 17:00:13 -07:00
2019-05-06 13:47:50 -03:00
2019-05-17 13:57:54 -07:00