scsi: aacraid: change wait_sem to a completion
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:32:40 +0000 (22:32 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 13 Dec 2018 01:35:33 +0000 (20:35 -0500)
commitdc71eccc175eae4959b06ae697ebef019719063d
tree870b7ec08f6d6e0969607197cba9d129081c52ca
parent719162bd5bb968203397b9b1d0dd30a9797bbd09
scsi: aacraid: change wait_sem to a completion

The wait_sem member is used like a completion, so we should
use the respective API. The behavior is unchanged.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/commctrl.c
drivers/scsi/aacraid/commsup.c