staging: wilc1000: rename s8PowerMode & strPowerMgmtParam to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 19 Feb 2018 15:29:31 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2018 17:12:53 +0000 (18:12 +0100)
Fix "Avoid camelCase" issues found by checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 5e01f6e..3dc3d2e 100644 (file)
@@ -2383,20 +2383,20 @@ static void ListenTimerCB(struct timer_list *t)
 }
 
 static void Handle_PowerManagement(struct wilc_vif *vif,
-                                  struct power_mgmt_param *strPowerMgmtParam)
+                                  struct power_mgmt_param *pm_param)
 {
        s32 result = 0;
        struct wid wid;
-       s8 s8PowerMode;
+       s8 power_mode;
 
        wid.id = (u16)WID_POWER_MANAGEMENT;
 
-       if (strPowerMgmtParam->enabled)
-               s8PowerMode = MIN_FAST_PS;
+       if (pm_param->enabled)
+               power_mode = MIN_FAST_PS;
        else
-               s8PowerMode = NO_POWERSAVE;
+               power_mode = NO_POWERSAVE;
 
-       wid.val = &s8PowerMode;
+       wid.val = &power_mode;
        wid.size = sizeof(char);
 
        result = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,