OSDN Git Service

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

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