From: Ajay Singh Date: Tue, 30 Jan 2018 16:50:33 +0000 (+0530) Subject: staging: wilc1000: rename Handle_Key() and Handle_ConnectTimeout() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=10660003be9c33481a1df479bcf8b959dd1a50c3;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: rename Handle_Key() and Handle_ConnectTimeout() Fix "Avoid camelCase" issue found by checkpatch.pl script. Signed-off-by: Ajay Singh Reviewed-by: Claudiu Beznea Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index f5fdca71931c..5e01f6edfd54 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1165,7 +1165,7 @@ ERRORHANDLER: return result; } -static s32 Handle_ConnectTimeout(struct wilc_vif *vif) +static s32 handle_connect_timeout(struct wilc_vif *vif) { s32 result = 0; struct connect_info strConnectInfo; @@ -1525,7 +1525,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, return result; } -static int Handle_Key(struct wilc_vif *vif, +static int handle_key(struct wilc_vif *vif, struct key_attr *pstrHostIFkeyAttr) { s32 result = 0; @@ -2511,7 +2511,7 @@ static void host_if_work(struct work_struct *work) break; case HOST_IF_MSG_KEY: - Handle_Key(msg->vif, &msg->body.key_info); + handle_key(msg->vif, &msg->body.key_info); break; case HOST_IF_MSG_CFG_PARAMS: @@ -2578,7 +2578,7 @@ static void host_if_work(struct work_struct *work) break; case HOST_IF_MSG_CONNECT_TIMER_FIRED: - Handle_ConnectTimeout(msg->vif); + handle_connect_timeout(msg->vif); break; case HOST_IF_MSG_POWER_MGMT: