staging: wilc1000: rename bReg of struct reg_frame
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 02:58:38 +0000 (11:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames bReg of struct reg_frame to reg
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 3cff865011aeb43561851fba62ff1e08b634c0de..41f226ff6c652e2306ea3a5b591d9474f4ca1659 100644 (file)
@@ -2552,7 +2552,9 @@ static int Handle_RegisterFrame(struct host_if_drv *hif_drv,
        struct wid wid;
        u8 *pu8CurrByte;
 
-       PRINT_D(HOSTINF_DBG, "Handling frame register Flag : %d FrameType: %d\n", pstrHostIfRegisterFrame->bReg, pstrHostIfRegisterFrame->u16FrameType);
+       PRINT_D(HOSTINF_DBG, "Handling frame register : %d FrameType: %d\n",
+               pstrHostIfRegisterFrame->reg,
+               pstrHostIfRegisterFrame->u16FrameType);
 
        wid.id = (u16)WID_REGISTER_FRAME;
        wid.type = WID_STR;
@@ -2562,7 +2564,7 @@ static int Handle_RegisterFrame(struct host_if_drv *hif_drv,
 
        pu8CurrByte = wid.val;
 
-       *pu8CurrByte++ = pstrHostIfRegisterFrame->bReg;
+       *pu8CurrByte++ = pstrHostIfRegisterFrame->reg;
        *pu8CurrByte++ = pstrHostIfRegisterFrame->u8Regid;
        memcpy(pu8CurrByte, &pstrHostIfRegisterFrame->u16FrameType,
               sizeof(u16));
@@ -4434,7 +4436,7 @@ s32 host_int_frame_register(struct host_if_drv *hif_drv, u16 u16FrameType, bool
                break;
        }
        msg.body.reg_frame.u16FrameType = u16FrameType;
-       msg.body.reg_frame.bReg = bReg;
+       msg.body.reg_frame.reg = bReg;
        msg.drv = hif_drv;
 
        result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
index 37e5c7487c4a53139b54b62a3b0d8bf7ffecf1f2..ad3071a0ac55b744aa3752424d4a79cd5fa9b0f2 100644 (file)
@@ -245,7 +245,7 @@ struct remain_ch {
 };
 
 struct reg_frame {
-       bool bReg;
+       bool reg;
        u16 u16FrameType;
        u8 u8Regid;
 };