staging: wilc1000: fix return type of wilc_setup_ipaddress
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 30 Dec 2015 12:15:38 +0000 (21:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:09:44 +0000 (15:09 -0800)
commit3d2a0bf719defc6087cf526af1e2ba98ae5e3bae
tree7d47f3a51c745fcf3a62f4ec42fe7dac8ba3572b
parent40ecd38a6e1ab30ef4fe843ca9e77754cde41287
staging: wilc1000: fix return type of wilc_setup_ipaddress

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