[PATCH 05/14] staging: wilc1000: rename pstrHostIfRegisterFrame to avoid camelCase
Ajay Singh
ajay.kathat at microchip.com
Mon Feb 19 15:29:35 UTC 2018
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat at microchip.com>
---
drivers/staging/wilc1000/host_interface.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 11e4737..eda395d 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -2290,7 +2290,7 @@ static int Handle_RemainOnChan(struct wilc_vif *vif,
}
static int Handle_RegisterFrame(struct wilc_vif *vif,
- struct reg_frame *pstrHostIfRegisterFrame)
+ struct reg_frame *hif_reg_frame)
{
s32 result = 0;
struct wid wid;
@@ -2304,9 +2304,9 @@ static int Handle_RegisterFrame(struct wilc_vif *vif,
cur_byte = wid.val;
- *cur_byte++ = pstrHostIfRegisterFrame->reg;
- *cur_byte++ = pstrHostIfRegisterFrame->reg_id;
- memcpy(cur_byte, &pstrHostIfRegisterFrame->frame_type, sizeof(u16));
+ *cur_byte++ = hif_reg_frame->reg;
+ *cur_byte++ = hif_reg_frame->reg_id;
+ memcpy(cur_byte, &hif_reg_frame->frame_type, sizeof(u16));
wid.size = sizeof(u16) + 2;
--
2.7.4
More information about the devel
mailing list