scsi: mac_esp: fix to pass correct device identity to free_irq()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 26 Apr 2017 05:43:59 +0000 (15:43 +1000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 26 Apr 2017 22:31:23 +0000 (18:31 -0400)
commitc0e3a6acdebc5b98c65a379460df1b4b2fe6c0d3
treed1a641ef7019b3c23ba899d783ca4fbef7b597e6
parentf481973d5efdb63b7c6ca6b0ecd2b8462556a461
scsi: mac_esp: fix to pass correct device identity to free_irq()

free_irq() expects the same device identity that was passed to
corresponding request_irq(), otherwise the IRQ is not freed.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mac_esp.c