]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename u32Timeout of struct power_mgmt_param
authorLeo Kim <leo.kim@atmel.com>
Tue, 13 Oct 2015 11:02:08 +0000 (20:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:01:53 +0000 (10:01 -0700)
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>
drivers/staging/wilc1000/host_interface.c

index 0c44fd03f00e864e5f0bc1b4d62d5357f490674c..97d1bd8388737dfaed81e25efee0119238d58e66 100644 (file)
@@ -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)