aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-03-07 07:43:57 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-14 12:59:51 +0100
commit88be64aad1fc596cd44bc7bc1a23e66e3a3f583c (patch)
tree5b98977025d972a9249a291b6937b00461e1ec44 /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: rename variables prefix using datatype 'u8' (diff)
downloadlinux-dev-88be64aad1fc596cd44bc7bc1a23e66e3a3f583c.tar.xz
linux-dev-88be64aad1fc596cd44bc7bc1a23e66e3a3f583c.zip
staging: wilc1000: rename WILC_HostIf_PackStaParam to avoid camelCase
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>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 5bf3bcc3b1a9..b26ea85ddfac 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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));