rtl8712: intf_priv: Replace semaphore lock with completion
authorBinoy Jayan <binoy.jayan@linaro.org>
Thu, 2 Jun 2016 04:24:09 +0000 (09:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 16:25:47 +0000 (18:25 +0200)
commit7c2bb7aff9b5ef83c5b1fd3a9ef0af39bbbf1f7a
tree81d50d01fd28a6e2c74021b696575531e7466eac
parent204a8ac1db424d6873c450828eb837c7d4158294
rtl8712: intf_priv: Replace semaphore lock with completion

The semaphore 'lock' in 'intf_priv' is used as completion,
so convert it to a struct completion type.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/osdep_intf.h
drivers/staging/rtl8712/usb_ops_linux.c