staging: wilc1000: fix return type of host_int_set_mac_chnl_num
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 2 Oct 2015 12:44:47 +0000 (21:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:42:39 +0000 (09:42 +0100)
commita6d3346d92356d74c7b7b31a44ae52d07fce38e9
treec2aeb19c558a7f152375810e7bf07b86e0c48ec5
parent8668984f8129d5ac7a90c6c0348e8ed4207fc145
staging: wilc1000: fix return type of host_int_set_mac_chnl_num

This patch changes return type of host_int_set_mac_chnl_num from s32 to
int. s32Error gets return value from wilc_mq_send function that
has return type of int. It should be changed return type of
host_int_set_mac_chnl_num function by int as well as data type of
s32Error.

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