From nobody Fri Jan 2 20:52:47 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD31AE95A89 for ; Sun, 8 Oct 2023 02:11:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344326AbjJHCL3 (ORCPT ); Sat, 7 Oct 2023 22:11:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344339AbjJHCLW (ORCPT ); Sat, 7 Oct 2023 22:11:22 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93595E4 for ; Sat, 7 Oct 2023 19:11:20 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3525e6dc5dfso13647875ab.3 for ; Sat, 07 Oct 2023 19:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696731080; x=1697335880; 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=QbnPHj6dfD4POVO9hdle6v6s7g3Ty0sBecHZs7nG93U=; b=XNO3/Np7EWbiKpmBfZyqn9im2ibIkz1U/+pj9bWtdGog8xZ6o2Fhquw82HlJu83d7U qciV2Oy/h1eeKjKT9q1bObfhKZkEt/+fpEoVUTHsqf7d3Mg8iNIl9Xg73FT4SX/m/zQn 3AYXXyxA7jNImrXiJsgucn81641iTVM3ERj9xPaD5pN+7E1bOb++cvfpHqff+4mTtpmi 1EDMUQ06nKz6WyLT9546dr88Qv6jhaox4r7wRQa+IgRcsDWLFVpa/iA+MjGnzrXV3U3u SZrLqhj+ZcNfj3XmumcuR0a7t0kH1MqBo++ekn4fHtKlI2H0OJbSaYUn4mOBtCSNfaCm ywwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696731080; x=1697335880; 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=QbnPHj6dfD4POVO9hdle6v6s7g3Ty0sBecHZs7nG93U=; b=ZWnUUCH9rFOM/2HU/adGY583A/KZawz18/OZW0ToWZl8i29m3XB3GXhH7BdcV/ulVx Ki+lq4Y/dUUI09qUHfSUzpS+wsxEwHgjU3jdW/VHw3Ocrb2CbjF2YJzSwAAmYk/5Iy7n YvFrLJZWx4J5a6TqlpadLlOFmdHeu8j4s33o6B2TO5EuDxeIwDQnCTO6lFr04ec95OXx T/RewpI0hl72aPVGXnuBbRTMVPSFZMRcu5z3jknEjkzP7wltKHVCWnOf0ywfiOMr22L+ PuthxUnn1YodbjCaes/IEGFuZ0Wp6azztD907putbxDh0yTGStCHgnq0jYGIuwq5Q6gs DlUA== X-Gm-Message-State: AOJu0YxSSz9BzB0AfIwqXQT9w5VxWyfJ5DgxOHnRpdeyxiLFSJP1MyMY p9oUx4/NETQn3UHWzAdJHds= X-Google-Smtp-Source: AGHT+IF1fg42gRk2D/9js+L+MQbF1lgNaOSnLSGB8BsY+P6pBsEo1vzpDZjud13AIAAqame94hYmgA== X-Received: by 2002:a05:6e02:12e3:b0:34d:ff6c:3e22 with SMTP id l3-20020a056e0212e300b0034dff6c3e22mr16419973iln.20.1696731079799; Sat, 07 Oct 2023 19:11:19 -0700 (PDT) Received: from ubuntu.. ([223.178.246.252]) by smtp.gmail.com with ESMTPSA id x8-20020aa784c8000000b00690fdeb5c0dsm3746125pfn.2.2023.10.07.19.11.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 19:11:19 -0700 (PDT) From: Pavan Bobba To: Pavan Bobba , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Pavan Bobba Subject: [PATCH Date: Sun, 8 Oct 2023 07:40:55 +0530 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" variable name "byBBVGANew" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba --- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/device_main.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/devic= e.h index 9ae7171d02ee..68bfadacfa7c 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -248,7 +248,7 @@ struct vnt_private { /* For Update BaseBand VGA Gain Offset */ bool bUpdateBBVGA; unsigned int uBBVGADiffCount; - unsigned char byBBVGANew; + unsigned char bbvga_new; unsigned char bbvga_current; unsigned char bbvga[BB_VGA_LEVEL]; long dbm_threshold[BB_VGA_LEVEL]; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index 6990129ceb10..b08fcf7e6edc 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -425,7 +425,7 @@ static void device_init_registers(struct vnt_private *p= riv) =20 if (priv->bUpdateBBVGA) { priv->bbvga_current =3D priv->bbvga[0]; - priv->byBBVGANew =3D priv->bbvga_current; + priv->bbvga_new =3D priv->bbvga_current; bb_set_vga_gain_offset(priv, priv->bbvga[0]); } =20 @@ -1053,12 +1053,12 @@ static void vnt_check_bb_vga(struct vnt_private *pr= iv) =20 for (i =3D 0; i < BB_VGA_LEVEL; i++) { if (dbm < priv->dbm_threshold[i]) { - priv->byBBVGANew =3D priv->bbvga[i]; + priv->bbvga_new =3D priv->bbvga[i]; break; } } =20 - if (priv->byBBVGANew =3D=3D priv->bbvga_current) { + if (priv->bbvga_new =3D=3D priv->bbvga_current) { priv->uBBVGADiffCount =3D 1; return; } @@ -1067,11 +1067,11 @@ static void vnt_check_bb_vga(struct vnt_private *pr= iv) =20 if (priv->uBBVGADiffCount =3D=3D 1) { /* first VGA diff gain */ - bb_set_vga_gain_offset(priv, priv->byBBVGANew); + bb_set_vga_gain_offset(priv, priv->bbvga_new); =20 dev_dbg(&priv->pcid->dev, "First RSSI[%d] NewGain[%d] OldGain[%d] Count[%d]\n", - (int)dbm, priv->byBBVGANew, + (int)dbm, priv->bbvga_new, priv->bbvga_current, (int)priv->uBBVGADiffCount); } @@ -1079,11 +1079,11 @@ static void vnt_check_bb_vga(struct vnt_private *pr= iv) if (priv->uBBVGADiffCount >=3D BB_VGA_CHANGE_THRESHOLD) { dev_dbg(&priv->pcid->dev, "RSSI[%d] NewGain[%d] OldGain[%d] Count[%d]\n", - (int)dbm, priv->byBBVGANew, + (int)dbm, priv->bbvga_new, priv->bbvga_current, (int)priv->uBBVGADiffCount); =20 - bb_set_vga_gain_offset(priv, priv->byBBVGANew); + bb_set_vga_gain_offset(priv, priv->bbvga_new); } } =20 --=20 2.34.1