OSDN Git Service

staging: wilc1000: fix return type of wilc_disconnect
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:33 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
commit5350251a9bba780fe1a92aebb71ecd7c37fa2e2f
treed42b429b30c59d147284207a1ea584fc4cd58bb2
parent11623136ef54ca945d64d3f8a1d1f3763ca13563
staging: wilc1000: fix return type of wilc_disconnect

This patch changes return type of wilc_disconnect from s32 to int.
The result variable gets return value from wilc_disconnect 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