Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2805865rdg; Mon, 16 Oct 2023 16:01:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+fqh/nGjhaH09OvQMV2eqGMeytcp4Z0BJAr1aDyQaYE8AHi8vqDpWIJjYx44pxolN1Uaf X-Received: by 2002:a17:902:f686:b0:1c7:65e3:e605 with SMTP id l6-20020a170902f68600b001c765e3e605mr690580plg.36.1697497292042; Mon, 16 Oct 2023 16:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697497292; cv=none; d=google.com; s=arc-20160816; b=K4Pct8ruq1yyd5MvQ5G1N3nTpUYiy2YRbiiD8EVLizn5WLAQZm+dQwE+6pFHv85PfZ WhrXhtOfdYuadCRhRRrzhZEk22KqAcBuVh1kePdWf3wjuJv456cecoHJpmtNMOKqzyNZ XzKmNpYWbqTyxWSrJRtqm98KjMwjdIduzZdmkFQuauWFjuUqWLIN7hujMu134SrXJkZZ PkE5awolrmaRApdHPw+lXFkE5s0NWIEJ47UW/CVbdS9jhGGQLc3+wK/3IbAXjATOdqG0 DypmSMKBMcTcBCCsbbyMnux/2Nirnq3lTICrm0aPNCnjyYc5B5qgTHvr2R/7WzylDwB1 u9Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BM4Q1Vnc/0W8axRuOl3n1yPV7eDUAdwd9TGgc08N9CQ=; fh=zF+ABB6M142DeB8jI5f0YB10JTabSFMh+t95kEDseyU=; b=G/3AC1YJVghZRTAc+xI0lbmDkaVqKR7fPiZmwzeMw4rFsaMYXMgGUrNHzNhItj5nv5 DH04wBVzb1FBezAOAZoovTPH3DT1+ipEpejsgfM4lY0DsIMUximaE3uJ1nXXd7S4B8lV iX8kQBg81vypexv1emj7JfZue08B4NMEElAR0tNvCox1KKdUlfKLS4NVwdXcXrJVMehp qf+IkdLy8gZ6bVl6gdWgadju1k9iofCAM5HNgsmJ4zUbgwsoDyawNLFehS+uZUU4W8mW 8s3V9HN3Mi6GFOis5gHg5sJeXL0GRQ+CiW+CpInAVBskE768tuQwuUyA9rxfskE5Gjrc M98Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nA09UmMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i11-20020a17090332cb00b001c4401a7e18si376094plr.382.2023.10.16.16.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 16:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nA09UmMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 07A04805ADDD; Mon, 16 Oct 2023 16:01:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234279AbjJPXBR (ORCPT + 99 others); Mon, 16 Oct 2023 19:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232896AbjJPXBN (ORCPT ); Mon, 16 Oct 2023 19:01:13 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70AD6109 for ; Mon, 16 Oct 2023 16:01:08 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-5a7d9d357faso64365857b3.0 for ; Mon, 16 Oct 2023 16:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697497267; x=1698102067; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BM4Q1Vnc/0W8axRuOl3n1yPV7eDUAdwd9TGgc08N9CQ=; b=nA09UmMA8NxRixh9HHVDlGk+Vvr+3ClVidWXzg3hqMGJXELFQInlSDx1GM+l7n9NDE 6eZtpXKPaNYnFN8DxQpImgQgAIXonEhdNC6cH+zt44VfKqYSyketTIqDC2XHn1sCRaGz Wm9lQR73XdgXV7OYWxQEDvK6ZekJY3/+7I1dFH715b2MUmuaXyViz+XhweGzVPEY9cqD oxuvu9MEqRGZMed79zWDmYn+mcPx71PMmI1FQ4AcDQRFBHeruTk9VIuProcunZnfVChS ceNIlnCWbhCEymn/F01WxwuHQGTKasiZJyZC2NmNCpi9UFWUsnEiRcOfqLA2yEvVIciZ fRzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697497267; x=1698102067; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BM4Q1Vnc/0W8axRuOl3n1yPV7eDUAdwd9TGgc08N9CQ=; b=ZZogMPjqzjn6DP6kp7gmcVU8gojJo8Zt3SmeovAZVGtbmvvdwG56H+m82zSWssT8UB Hxmif5d8edkmtO0YbhuVcRVjFFWDC6pIh1+CEOTF65+EU9cqAIFJ6EYscO0zfqtmgUrC bIM2OPGBOd21m/jc60R4SP7H6/yP40j1pUPqbuI4jOhn4/rP3Dc2TYe4dZl2GMahgTuW RQptgT/XsbyT/ERpvIkntwBzbA1zvOuMD4Ea616kveB4Z97TdrLysbAP5I95wK56eHWJ XatjMYc+V4kov97XT113gjpsgrZvjjda8t5RSJqoQNnuMcytbqXRJGVruRYSumQMqy/p 8Q/A== X-Gm-Message-State: AOJu0YylheP0utqB6NT4KZx63VyocnaIvGO+CE59L8GUGOtejyUFEyZm obfhw9kNUEgmBk5H2+3Q60s= X-Received: by 2002:a81:8341:0:b0:59b:65d4:4d73 with SMTP id t62-20020a818341000000b0059b65d44d73mr558954ywf.27.1697497267371; Mon, 16 Oct 2023 16:01:07 -0700 (PDT) Received: from gilbert-PC ([105.112.31.148]) by smtp.gmail.com with ESMTPSA id s124-20020a817782000000b00565271801b6sm94387ywc.59.2023.10.16.16.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 16:01:06 -0700 (PDT) From: Gilbert Adikankwu To: forest@alittletooquiet.net, gregkh@linuxfoundation.org, outreachy@lists.linux.dev Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gilbert Adikankwu Subject: [PATCH 4/4] staging: vt6655: Rename variable byBBPreEDRSSI Date: Mon, 16 Oct 2023 23:58:57 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 16:01:29 -0700 (PDT) Remove byte Type encoding "by" from variable name and replace camelcase with snakecase. Mute checkpatch error: CHECK: Avoid CamelCase: Signed-off-by: Gilbert Adikankwu --- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/dpc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 6df1694d556b..2b5f9bf6aa5d 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -253,7 +253,7 @@ struct vnt_private { unsigned char bbvga[BB_VGA_LEVEL]; long dbm_threshold[BB_VGA_LEVEL]; - unsigned char byBBPreEDRSSI; + unsigned char bb_pre_edrssi; unsigned char byBBPreEDIndex; unsigned long dwDiagRefCount; diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c index c6ed3537f439..7ada188e2048 100644 --- a/drivers/staging/vt6655/dpc.c +++ b/drivers/staging/vt6655/dpc.c @@ -79,7 +79,7 @@ static bool vnt_rx_data(struct vnt_private *priv, struct sk_buff *skb, RFvRSSITodBm(priv, *rssi, &rx_dbm); - priv->byBBPreEDRSSI = (u8)rx_dbm + 1; + priv->bb_pre_edrssi = (u8)rx_dbm + 1; priv->current_rssi = *rssi; skb_pull(skb, 4); -- 2.34.1