staging: wilc1000: fix return type of wilc_init
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 5 Jan 2016 14:06:57 +0000 (23:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:17:27 +0000 (15:17 -0800)
commit1e995c10791f83f606b94b73c0f89ac29aea4824
treeb78ab75f768b01433526ad783bcb184c1eaf6ee0
parent3bff53a880b94df68e95b64b49929578af1b007a
staging: wilc1000: fix return type of wilc_init

This patch changes return type of wilc_init from s32 to int.
The error code as -ENOMEM or -EFAULT is returned in the wilc_init.
It is better to use return type of int in this function, not s32.

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