]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix return type of wilc_deinit
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 5 Feb 2016 01:35:13 +0000 (10:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit111f947b441ce52ccce5615d688d6ec4ec86e233
tree1b9368d523bbdb52cc585da0eeb120874424fbdd
parent2038abf7a4ed778deec86620929e418a1adaa715
staging: wilc1000: fix return type of wilc_deinit

This patch changes return type of wilc_deinit from s32 to int.
The result variable gets return value from wilc_mq_send that has return
type of int. It should be changed return type of this function as well
as data type of result variable.

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