]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba3fbf2b22b425a86cf34c1ea94bb55b8f9bc7e7
tree17a0fc99774f2e0a7fd6e0883cf6b0b3ee0977e8
parent0f144cf1f7ec45b070ae86a2384f0d1719a2933b
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