]> 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)
commite33188b269d4d6aee321609bddf1a60ca4a19af5
tree17a0fc99774f2e0a7fd6e0883cf6b0b3ee0977e8
parent205da723fd025b8924b1579dce934782cd4a9763
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