atp870u: Introduce is880(), is885() and remove dev_id
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:21 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:51 +0000 (22:08 -0500)
commitb922a44995a6e94560aa3eae0602bf92a4e7b084
treed57221ea7db5dfa0beba7305801cbc8c50df587b
parent6c9b9c554b2a369d2b46558975ef2eaa3a84c1c3
atp870u: Introduce is880(), is885() and remove dev_id

Introduce chip type inline functions to simplify code, allowing to delete
dev_id from struct atp_unit.

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
drivers/scsi/atp870u.h