atp870u: Simplify _probe()
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:20 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:50 +0000 (22:08 -0500)
commit6c9b9c554b2a369d2b46558975ef2eaa3a84c1c3
tree2f8d0e939cfc8f3c0665290e8a5b8faf8832cdbe
parentdd5a5f7951e253b81ac480a63dfd8b826a9ef61e
atp870u: Simplify _probe()

Move shpnt common code to the top, remove base_io, use pci_resource_len.

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