diff options
| author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-10-05 13:34:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 12:58:24 +0300 |
| commit | a094101cdc86d102e651342ee1078e147203f13f (patch) | |
| tree | 87b13d2c33cc001de5e94ae89393080179a542d6 | |
| parent | 909cccd9523c5ead7712c7d21dbcba4d35f28f8a (diff) | |
| download | linux-a094101cdc86d102e651342ee1078e147203f13f.tar.xz | |
staging: wilc1000: rename s32Error in host_int_set_wfi_drv_handler
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>
| -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 6c6c66eed1d8..dcd2d5c26a10 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -5261,7 +5261,7 @@ int host_int_wait_msg_queue_idle(void) int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address) { - int s32Error = 0; + int result = 0; struct host_if_msg msg; @@ -5273,13 +5273,13 @@ int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address) msg.body.drv.u32Address = get_id_from_handler(u32address); msg.drvHandler = u32address; - 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; } s32 host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode) |
