scsi: esas2r: Replace semaphore fm_api_semaphore with mutex
authorBinoy Jayan <binoy.jayan@linaro.org>
Thu, 8 Jun 2017 10:07:30 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:17:05 +0000 (21:17 -0400)
commit74d2fd488d77ab4ff15a7fe0b3b6900f2382b42b
tree9bb026d2c0aa5e98ac219b2754219cf864b78a3c
parent4fae52b5a30b6f2cfc8ecf22524cedc1ece5b774
scsi: esas2r: Replace semaphore fm_api_semaphore with mutex

The semaphore 'fm_api_semaphore' is used as a simple mutex, so it should
be written as one. Semaphores are going away in the future.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/esas2r/esas2r.h
drivers/scsi/esas2r/esas2r_init.c
drivers/scsi/esas2r/esas2r_ioctl.c