staging: wilc1000: rename WILC_HostIf_PackStaParam to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 7 Mar 2018 02:13:57 +0000 (07:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 11:59:51 +0000 (12:59 +0100)
Fix 'Avoid camelCase' issue found by checkpatch.pl script.

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

index 5bf3bcc3b1a9fadeb5c8320ef7dbc4fa45bfd154..b26ea85ddfaca15ad0260de56ba3345ff5d25cca 100644 (file)
@@ -2081,7 +2081,7 @@ static void handle_del_beacon(struct wilc_vif *vif)
                netdev_err(vif->ndev, "Failed to send delete beacon\n");
 }
 
-static u32 WILC_HostIf_PackStaParam(u8 *buff, struct add_sta_param *param)
+static u32 wilc_hif_pack_sta_param(u8 *buff, struct add_sta_param *param)
 {
        u8 *cur_byte;
 
@@ -2127,7 +2127,7 @@ static void handle_add_station(struct wilc_vif *vif,
                goto error;
 
        cur_byte = wid.val;
-       cur_byte += WILC_HostIf_PackStaParam(cur_byte, param);
+       cur_byte += wilc_hif_pack_sta_param(cur_byte, param);
 
        result = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
                                      wilc_get_vif_idx(vif));
@@ -2223,7 +2223,7 @@ static void handle_edit_station(struct wilc_vif *vif,
                goto error;
 
        cur_byte = wid.val;
-       cur_byte += WILC_HostIf_PackStaParam(cur_byte, param);
+       cur_byte += wilc_hif_pack_sta_param(cur_byte, param);
 
        result = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
                                      wilc_get_vif_idx(vif));