]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf71a1f02dc6e0854a20b11abf1ba75319e2877c4
treec15ca6a3d23aeb042f55083ddf0d6ce0fa0b99e9
parent68f7fb08189b62d926453228160546538ba4fc0a
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