]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: change handle_set_wfi_drv_handler's return type to void
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 6 Apr 2016 23:10:38 +0000 (08:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:03:39 +0000 (22:03 -0700)
commita82bbd470f1698ccab6476930a58075fbe29b4ac
tree09d8477d04bcb64f79e19180922cc75cf5a0fed5
parent4006d942021c3a675f55a06e05be51a0d12292bb
staging: wilc1000: change handle_set_wfi_drv_handler's return type to void

When handle_set_wfi_drv_handler is called in hostIFthread that is a
kernel thread, it is not checked return type of this function. This
patch changes return type to void and removes braces if statement due to
have a single statement.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c