linux/drivers/scsi/aic94xx
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
..
aic94xx_dev.c scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00
aic94xx_dump.c
aic94xx_dump.h
aic94xx_hwi.c scsi: aic94xx: Use dma_pool_zalloc 2018-11-21 22:02:40 -05:00
aic94xx_hwi.h scsi: aic94xx: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
aic94xx_init.c scsi: aic94xx: fix calls to dma_set_mask_and_coherent() 2019-02-25 21:37:26 -05:00
aic94xx_reg_def.h
aic94xx_reg.c
aic94xx_reg.h
aic94xx_sas.h scsi: Centralise ssp frame information units 2015-11-25 22:12:50 -05:00
aic94xx_scb.c scsi: aic94xx: mark expected switch fall-throughs 2018-10-16 21:54:41 -04:00
aic94xx_sds.c
aic94xx_sds.h
aic94xx_seq.c treewide: Fix typos in printk 2016-04-18 11:23:24 +02:00
aic94xx_seq.h
aic94xx_task.c scsi: aic94xx: fully convert to the generic DMA API 2018-10-17 21:58:51 -04:00
aic94xx_tmf.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
aic94xx.h
Kconfig
Makefile