staging: wilc1000: Change interface wilc_mq_send to wilc_enqueue_cmd
authorBinoy Jayan <binoy.jayan@linaro.org>
Thu, 23 Jun 2016 05:41:52 +0000 (11:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:39:53 +0000 (14:39 -0700)
commita5c84b2f67259e06d78e0dbf5ce55a9fdb77c084
treed50e18ae3b3d92508d4f12ebbd4ae37cabca6110
parent2518ac59eb27ed003c5a97e8f9588adafdfe4a8a
staging: wilc1000: Change interface wilc_mq_send to wilc_enqueue_cmd

Replace the interface 'wilc_mq_send' with 'wilc_enqueue_cmd'
and remove the now unused structures 'message' and 'message_queue'.
Restructure switch statement in the work queue helper function
host_if_work and remove unwanted indentation.

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/wilc1000/host_interface.c