Staging: comedi: dt9812: Use mutex instead of semaphore
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Tue, 13 Oct 2015 17:08:03 +0000 (19:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:15:26 +0000 (10:15 -0700)
commit9faa310f2b813bad7682120d37ac760db14eec93
treeea3be454bf3069c3c8ab499746ce15973361594e
parentc29722158c29cb5aad60108268cb8649a171c876
Staging: comedi: dt9812: Use mutex instead of semaphore

Replace binary semaphore with mutex. Mutex also gives better performance
than semaphore.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c