staging: rtl8723bs: change pwrctrl lock to a mutex
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:40:31 +0000 (22:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Dec 2018 10:50:46 +0000 (11:50 +0100)
commit07e3a844ff05ad2587247987ac0e79d446e40682
tree0d82246027b95085a27db30e4b21105e4e3afb5b
parent09a8ea34cf431bfb77159197e46753d101c528c5
staging: rtl8723bs: change pwrctrl lock to a mutex

This semaphore is used like a mutex, so it should use the regular
mutex API, as we do in the other copies of this driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h