diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-02-05 10:35:13 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 17:34:58 -0800 |
commit | 127a27c3fbe01b8b35e658b0b6f655be43290f95 (patch) | |
tree | 1b9368d523bbdb52cc585da0eeb120874424fbdd /drivers/staging/wilc1000/host_interface.c | |
parent | 483ab2aa00c0570084abec6147d5165fcffd1ac4 (diff) | |
download | op-kernel-dev-127a27c3fbe01b8b35e658b0b6f655be43290f95.zip op-kernel-dev-127a27c3fbe01b8b35e658b0b6f655be43290f95.tar.gz |
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>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 2c64659..ef7c90f 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3687,9 +3687,9 @@ _fail_: return result; } -s32 wilc_deinit(struct wilc_vif *vif) +int wilc_deinit(struct wilc_vif *vif) { - s32 result = 0; + int result = 0; struct host_if_msg msg; struct host_if_drv *hif_drv = vif->hif_drv; |