staging: wilc1000: use completion instead of struct semaphore hif_sema_thread
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 23 Mar 2016 12:28:33 +0000 (21:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit04dd9a421111dfb88e1ae73af0ea27f285c89b74
tree79bf2b27b8191c68378073616c5b27116af3c637
parent85d83cd8c629e053e3aaec0a4dd6c798d46c109d
staging: wilc1000: use completion instead of struct semaphore hif_sema_thread

struct semaphore hif_sema_thread is used to signal completion of host
interface thread. This patch replaces struct semaphore hif_sema_thread
with struct completion hif_thread_comp. It is better to use completion
than semaphore for this case.

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