rtl8188eu: Replace semaphore terminate_cmdthread_sema with completion
authorBinoy Jayan <binoy.jayan@linaro.org>
Mon, 6 Jun 2016 04:38:05 +0000 (10:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 16:14:51 +0000 (18:14 +0200)
commit16677cca770d659434aaa860f12d418b68adac31
treeb1c5c0b2b455c11e8a9aec8e360f4521b0638327
parentc84f5e2872c93fb78d3eb931a113cda42275ceae
rtl8188eu: Replace semaphore terminate_cmdthread_sema with completion

The semaphore 'terminate_cmdthread_sema' is used as completion,
so convert it to struct completion.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/include/rtw_cmd.h
drivers/staging/rtl8188eu/os_dep/os_intfs.c