From bced08cce4c184ba641e8a1d686f54ac57cfc441 Mon Sep 17 00:00:00 2001 From: Ajay Singh Date: Mon, 19 Feb 2018 20:59:35 +0530 Subject: [PATCH] staging: wilc1000: rename pstrHostIfRegisterFrame to avoid camelCase Fix "Avoid camelCase" issue found by checkpatch.pl script. Signed-off-by: Ajay Singh Signed-off-by: Greg Kroah-Hartman --- 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 11e473761ed9..eda395d3a4ef 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -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;