diff options
author | Chaehyun Lim | 2015-10-05 12:34:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-08 11:58:24 +0200 |
commit | a0c1ee0cb999b726b206039aad459ea3038f7142 (patch) | |
tree | 26b385e53040c8acf0a95c3e8bd7ff95fe528478 /drivers/staging/wilc1000/host_interface.c | |
parent | staging: wilc1000: fix return type of host_int_set_operation_mode (diff) | |
download | kernel-qcow2-linux-a0c1ee0cb999b726b206039aad459ea3038f7142.tar.gz kernel-qcow2-linux-a0c1ee0cb999b726b206039aad459ea3038f7142.tar.xz kernel-qcow2-linux-a0c1ee0cb999b726b206039aad459ea3038f7142.zip |
staging: wilc1000: rename s32Error in host_int_set_operation_mode
This patch replaces s32Error with result to avoid camelcase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 605bb2b50ec9..b8f639e15ade 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -5284,7 +5284,7 @@ int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *address) int host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode) { - int s32Error = 0; + int result = 0; struct host_if_msg msg; @@ -5295,13 +5295,13 @@ int host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode) msg.body.mode.u32Mode = u32mode; msg.drvHandler = hWFIDrv; - s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); - if (s32Error) { + result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); + if (result) { PRINT_ER("wilc mq send fail\n"); - s32Error = -EINVAL; + result = -EINVAL; } - return s32Error; + return result; } /** |