atp870u: Introduce HW access wrappers
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:23:54 +0000 (19:23 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:36 +0000 (22:08 -0500)
commit6a3cebb682190f878dcab60450cfdb2eddeceb69
treec15ca6a3d23aeb042f55083ddf0d6ce0fa0b99e9
parentc7fcc089b0e49dce9208277871f69e42d8fb1db0
atp870u: Introduce HW access wrappers

Introduce *_read? and *_write? wrappers to improve code readability.
Also make sure that baseport is always initialized, not only for ATP880.

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
This page took 0.02656 seconds and 5 git commands to generate.