From patchwork Thu Jan 18 13:17:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Singh X-Patchwork-Id: 10173235 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9DE256055D for ; Thu, 18 Jan 2018 13:19:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EF54205F7 for ; Thu, 18 Jan 2018 13:19:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83D18205FC; Thu, 18 Jan 2018 13:19:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0816B208C2 for ; Thu, 18 Jan 2018 13:19:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932434AbeARNSr (ORCPT ); Thu, 18 Jan 2018 08:18:47 -0500 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:16916 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932405AbeARNSk (ORCPT ); Thu, 18 Jan 2018 08:18:40 -0500 X-IronPort-AV: E=Sophos;i="5.46,377,1511852400"; d="scan'208";a="11138223" Received: from exsmtp01.microchip.com (HELO email.microchip.com) ([198.175.253.37]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES128-SHA; 18 Jan 2018 06:18:40 -0700 Received: from ajaysk-VirtualBox.mchp-main.com (10.10.76.4) by CHN-SV-EXCH01.mchp-main.com (10.10.76.37) with Microsoft SMTP Server id 14.3.352.0; Thu, 18 Jan 2018 06:18:39 -0700 From: Ajay Singh To: CC: , , , , , , Ajay Singh Subject: [PATCH 12/14] staging: wilc1000: rename Handle_ScanDone() to avoid camelCase Date: Thu, 18 Jan 2018 18:47:10 +0530 Message-ID: <1516281432-7724-13-git-send-email-ajay.kathat@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516281432-7724-1-git-send-email-ajay.kathat@microchip.com> References: <1516281432-7724-1-git-send-email-ajay.kathat@microchip.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP fix "Avoid camelCase" issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index d017c86..5ea7c4b 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -267,7 +267,7 @@ static struct wilc_vif *join_req_vif; static void *host_parse_join_bss_param(struct network_info *info); static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx); -static s32 Handle_ScanDone(struct wilc_vif *vif, enum scan_event enuEvent); +static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event enuEvent); static void host_if_work(struct work_struct *work); /*! @@ -847,7 +847,7 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info) ERRORHANDLER: if (result) { del_timer(&hif_drv->scan_timer); - Handle_ScanDone(vif, SCAN_EVENT_ABORTED); + handle_scan_done(vif, SCAN_EVENT_ABORTED); } kfree(scan_info->ch_freq_list); @@ -863,8 +863,8 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info) return result; } -static s32 Handle_ScanDone(struct wilc_vif *vif, - enum scan_event enuEvent) +static s32 handle_scan_done(struct wilc_vif *vif, + enum scan_event enuEvent) { s32 result = 0; u8 u8abort_running_scan; @@ -1461,7 +1461,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, if (hif_drv->usr_scan_req.scan_result) { del_timer(&hif_drv->scan_timer); - Handle_ScanDone(vif, SCAN_EVENT_ABORTED); + handle_scan_done(vif, SCAN_EVENT_ABORTED); } strDisconnectNotifInfo.reason = 0; @@ -1509,7 +1509,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, (hif_drv->usr_scan_req.scan_result)) { del_timer(&hif_drv->scan_timer); if (hif_drv->usr_scan_req.scan_result) - Handle_ScanDone(vif, SCAN_EVENT_ABORTED); + handle_scan_done(vif, SCAN_EVENT_ABORTED); } } @@ -2526,7 +2526,7 @@ static void host_if_work(struct work_struct *work) if (!wilc_wlan_get_num_conn_ifcs(wilc)) wilc_chip_sleep_manually(wilc); - Handle_ScanDone(msg->vif, SCAN_EVENT_DONE); + handle_scan_done(msg->vif, SCAN_EVENT_DONE); if (msg->vif->hif_drv->remain_on_ch_pending) Handle_RemainOnChan(msg->vif, @@ -2568,7 +2568,7 @@ static void host_if_work(struct work_struct *work) break; case HOST_IF_MSG_SCAN_TIMER_FIRED: - Handle_ScanDone(msg->vif, SCAN_EVENT_ABORTED); + handle_scan_done(msg->vif, SCAN_EVENT_ABORTED); break; case HOST_IF_MSG_CONNECT_TIMER_FIRED: