diff options
author | John Garry <john.garry@huawei.com> | 2019-06-10 14:41:41 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-20 21:37:02 +0200 |
commit | 924a3541eab0d28101baf0831e4315593f06ba4a (patch) | |
tree | da4ef5d394c324e91279650a8cc4ee34da7b3694 /Kconfig | |
parent | scsi: mpt3sas: Update driver version to 29.100.00.00 (diff) | |
download | linux-924a3541eab0d28101baf0831e4315593f06ba4a.tar.xz linux-924a3541eab0d28101baf0831e4315593f06ba4a.zip |
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions