]> git.karo-electronics.de Git - linux-beck.git/commit
staging: wilc1000: fix return type of wilc_hif_set_cfg
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 5 Feb 2016 01:35:11 +0000 (10:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit4168da71875c8aca823a78fa33f5481efa7dc36e
treefcfacc00271040bc608367a12b66b0aacd217a9a
parente0990c159f658db3fb6e32b76c449d33e718ed24
staging: wilc1000: fix return type of wilc_hif_set_cfg

This patch changes return type of wilc_hif_set_cfg 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