]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb18f57bca9dfdea03341213225bd84f67867b926
treee796b4a67730ba0cbd4356970dcca7813cea55bb
parenta475356e3b9f20eae137c188189eb28cf65a28fe
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