]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: esas2r: Replace semaphore fs_api_semaphore with mutex
authorBinoy Jayan <binoy.jayan@linaro.org>
Thu, 8 Jun 2017 10:07:31 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:17:22 +0000 (21:17 -0400)
commit249cf320bd5dd3490252cb9f3cdef41f7d1caacc
treeeddce6a8756bb0d7e902e87dae13292f220b3c36
parent74d2fd488d77ab4ff15a7fe0b3b6900f2382b42b
scsi: esas2r: Replace semaphore fs_api_semaphore with mutex

The semaphore 'fs_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