atp870u: Introduce atp_set_host_id
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:10 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:45 +0000 (22:08 -0500)
commit6a1961bc9c8916fc40423cc71e44fd8c59fef360
tree17a0fc99774f2e0a7fd6e0883cf6b0b3ee0977e8
parentc751d9f1fce4187bf1c0848d7d3a5bf7644d7f9c
atp870u: Introduce atp_set_host_id

The code for setting host adapter ID is the same for all chips.
Move it to a common function.

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