scsi: hisi_sas: add irq and tasklet cleanup in v2 hw
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 10 Aug 2017 16:09:32 +0000 (00:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 11 Aug 2017 00:15:02 +0000 (20:15 -0400)
commit8a253888bfc395a7a169f20d710d9289e59a8592
tree44b7343c9d8652a0d79de3c2a4dd8e4def76d6a3
parentcef4e1ab7a16f64ee75172ce28832e7f6abaeace
scsi: hisi_sas: add irq and tasklet cleanup in v2 hw

This patch adds support to clean-up allocated IRQs and kill tasklets
when probe fails and for driver removal.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c