staging: wilc1000: rename pstrHostIfRegisterFrame to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 19 Feb 2018 15:29:35 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Feb 2018 17:12:53 +0000 (18:12 +0100)
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>
drivers/staging/wilc1000/host_interface.c

index 11e473761ed9cdeaa9ce9043f61fc52fd1f07974..eda395d3a4eff88aadb0bb124647b9e1f8caca5f 100644 (file)
@@ -2290,7 +2290,7 @@ ERRORHANDLER:
 }
 
 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;