staging: wilc1000: replace semaphore sem_get_rssi with a completion
authorAlison Schofield <amsfield22@gmail.com>
Mon, 14 Mar 2016 17:34:39 +0000 (10:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit7c8a3dcac82f11681e3e6ad61fb2e5802a136c24
treebea949c6d215174d3bead99af0bf6296e808a367
parente0c1496fcf6a1bbc9b827e763f58535585b249d5
staging: wilc1000: replace semaphore sem_get_rssi with a completion

Semaphore sem_get_rssi is used to signal completion of its host
interface message. Since the thread locking this semaphore will have
to wait, completions are the preferred mechanism and will offer a
performance improvement.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h