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

struct semaphore hif_sema_driver is used to signal completion of host
interface message. This patch replaces struct semaphore hif_sema_driver
with struct completion hif_driver_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