aha1542: rework hw_init
authorOndrej Zary <linux@rainbow-software.org>
Fri, 6 Feb 2015 22:11:40 +0000 (23:11 +0100)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 01:08:00 +0000 (18:08 -0700)
commit3a70c006edbe6071bd78e1e0c8004791cd4b531c
treeafedc0e46453ffdc5861156f5c06859495065c8e
parent23e6940a9ecfc6477fb1216cad062e2fa12ea98f
aha1542: rework hw_init

Cleanup hw_init, use goto for error handling.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/aha1542.c
drivers/scsi/aha1542.h