summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorLeo Kim2015-10-13 13:02:08 +0200
committerGreg Kroah-Hartman2015-10-13 19:01:53 +0200
commit937918ff160d8102a6c54897231c32ed2efc2b0f (patch)
tree1c64e86e68982be68d274ecde02e405b18cf960a /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: rename bIsEnabled of struct power_mgmt_param (diff)
downloadkernel-qcow2-linux-937918ff160d8102a6c54897231c32ed2efc2b0f.tar.gz
kernel-qcow2-linux-937918ff160d8102a6c54897231c32ed2efc2b0f.tar.xz
kernel-qcow2-linux-937918ff160d8102a6c54897231c32ed2efc2b0f.zip
staging: wilc1000: rename u32Timeout of struct power_mgmt_param
This patch renames u32Timeout of struct power_mgmt_param to timeout to avoid CamelCase naming convention. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 0c44fd03f00e..97d1bd838873 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -155,7 +155,7 @@ struct del_sta {
struct power_mgmt_param {
bool enabled;
- u32 u32Timeout;
+ u32 timeout;
};
struct set_ip_addr {
@@ -4881,8 +4881,7 @@ s32 host_int_set_power_mgmt(struct host_if_drv *hif_drv,
msg.drv = hif_drv;
pstrPowerMgmtParam->enabled = bIsEnabled;
- pstrPowerMgmtParam->u32Timeout = u32Timeout;
-
+ pstrPowerMgmtParam->timeout = u32Timeout;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error)