atp870u: Request IRQ later, remove weird locking
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:23 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:52 +0000 (22:08 -0500)
commit1729c0d22bddfa949551c38301af3ce52d40c3b9
tree4c0dd988850739568d825fadb083b1f07f8a8179
parent11ec131804e75b73f07ac04f94888efc65c5d4c4
atp870u: Request IRQ later, remove weird locking

Allocate IRQ later during probe to avoid code duplication and also
remove the need for weird locking in _probe.
(It was probably there to prevent race with the IRQ handler?)

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/atp870u.c