staging: wilc1000: use mutex instead of struct semaphore hif_sema_deinit
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 21 Mar 2016 23:39:24 +0000 (08:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit896802a8e208997faff6e38d711cd9b13c7a2e23
tree646ba9513c6cfab593647690eeac26b77b023df6
parent5150d01ea99230576060e864f7a6f15e29b8dc4d
staging: wilc1000: use mutex instead of struct semaphore hif_sema_deinit

This patch replaces struct semaphore hif_sema_deinit with struct mutex
hif_deinit_lock. It is better to use mutex because mutex gives better
performance than semaphore.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c