From patchwork Fri Mar 2 14:22:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Singh X-Patchwork-Id: 10254767 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 36D69602B5 for ; Fri, 2 Mar 2018 14:23:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2696D289A7 for ; Fri, 2 Mar 2018 14:23:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 189BC289B1; Fri, 2 Mar 2018 14:23:27 +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 063A7289A7 for ; Fri, 2 Mar 2018 14:23:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425494AbeCBOXY (ORCPT ); Fri, 2 Mar 2018 09:23:24 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:57547 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424959AbeCBOXU (ORCPT ); Fri, 2 Mar 2018 09:23:20 -0500 X-IronPort-AV: E=Sophos;i="5.47,412,1515481200"; d="scan'208";a="9756771" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Mar 2018 07:23:20 -0700 Received: from ajaysk-VirtualBox.mchp-main.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Fri, 2 Mar 2018 07:23:19 -0700 From: Ajay Singh To: CC: , , , , , , , Ajay Singh Subject: [PATCH 01/13] staging: wilc1000: rename enuEvent to avoid camelCase Date: Fri, 2 Mar 2018 19:52:37 +0530 Message-ID: <1520000569-27738-2-git-send-email-ajay.kathat@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520000569-27738-1-git-send-email-ajay.kathat@microchip.com> References: <1520000569-27738-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 found by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 253225c..b46a759 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_int_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_scan_done(struct wilc_vif *vif, enum scan_event enuEvent); +static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt); static void host_if_work(struct work_struct *work); /*! @@ -863,15 +863,14 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info) return result; } -static s32 handle_scan_done(struct wilc_vif *vif, - enum scan_event enuEvent) +static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt) { s32 result = 0; u8 u8abort_running_scan; struct wid wid; struct host_if_drv *hif_drv = vif->hif_drv; - if (enuEvent == SCAN_EVENT_ABORTED) { + if (evt == SCAN_EVENT_ABORTED) { u8abort_running_scan = 1; wid.id = (u16)WID_ABORT_RUNNING_SCAN; wid.type = WID_CHAR; @@ -893,7 +892,7 @@ static s32 handle_scan_done(struct wilc_vif *vif, } if (hif_drv->usr_scan_req.scan_result) { - hif_drv->usr_scan_req.scan_result(enuEvent, NULL, + hif_drv->usr_scan_req.scan_result(evt, NULL, hif_drv->usr_scan_req.arg, NULL); hif_drv->usr_scan_req.scan_result = NULL; }