diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-02-19 20:59:38 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-19 18:12:53 +0100 |
commit | f7ff157b094e2b65ce36d0b5e515e631c4dc94ad (patch) | |
tree | b2e6561b07f349cc79906df78db4c7c0e350aa37 | |
parent | 8583fd8b70b4fcacb2da21d08b54e68cf3804972 (diff) |
staging: wilc1000: rename pstrRcvdNetworkInfo to avoid camelCase
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index d489b27c4e10..24c9a3634199 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1245,7 +1245,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif) } static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, - struct rcvd_net_info *pstrRcvdNetworkInfo) + struct rcvd_net_info *rcvd_info) { u32 i; bool bNewNtwrkFound; @@ -1257,7 +1257,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, bNewNtwrkFound = true; if (hif_drv->usr_scan_req.scan_result) { - wilc_parse_network_info(pstrRcvdNetworkInfo->buffer, &pstrNetworkInfo); + wilc_parse_network_info(rcvd_info->buffer, &pstrNetworkInfo); if (!pstrNetworkInfo || !hif_drv->usr_scan_req.scan_result) { netdev_err(vif->ndev, "driver is null\n"); @@ -1302,8 +1302,8 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, } done: - kfree(pstrRcvdNetworkInfo->buffer); - pstrRcvdNetworkInfo->buffer = NULL; + kfree(rcvd_info->buffer); + rcvd_info->buffer = NULL; if (pstrNetworkInfo) { kfree(pstrNetworkInfo->ies); |