Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5692773pxv; Wed, 21 Jul 2021 11:27:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVa6ZGquMNF/BqWu4T5qfDUprOHiFePWmwU3oADM6DodUUbvCawKq+IsGgP4vx9bhnNCY1 X-Received: by 2002:a05:6638:33a6:: with SMTP id h38mr32321797jav.130.1626892070292; Wed, 21 Jul 2021 11:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626892070; cv=none; d=google.com; s=arc-20160816; b=NiOXwCikO6Q/ZQWA7N3pYox4WqEu5fVA9beWRAaOMiMic9pqKDQ7pvBg5fi7ELxc/J smkv5Ag2BjqwJNzT5noMhKGpAYr3sD/chTW/EwKZHNRj9D+sVVZCfPga4d1ZQ78x9mpR iAHq8NsJzRkSa7F0Qyq4jaF09b/rBmlCxDqnsnpOyYFrhFBBzzaGVNsezkejQIeRu+dM eS2BCRMx60P7w4VRXDYYLT+wL6/BWsnjGCzm8rWeU+NJlBEucM6qZBVTzRTSQqWZLdqH dSOqoRVEKSNUJydaNJHOgoBrHALxYWZBGx26qDcrWZdd0jzkUGw7jJizrUj7MgN2woVR ZTKA== 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=vpBo6pS+05Q4WF57DinU840cssZYXHgBom0RqSKX0GE=; b=sjWgVlKVX5G4Iyh1LOr0WGn1KGrxwYB88xQENH1sjDrYm/1bUxOVTxPlngdW8wFdh6 GLV62+aAbcwJklO9yKhbhWZMOaidCQAvCXu8QKWrbnpAInFpN4nk8+hmhUUrd/dz00M2 /qFJDDQFDQkLShOdQ+/W6xLG/dWFtl0PVTd9X81ZimbeUqLryqS+YksuSfQRbNgd2AML 7ALGdyAAQ7RXKEZXzwp41GlZ2iDSKyyGNglg5EgKGxmpkcKkm25HwnvxqpcqF5ceh6qt ayUF3VBvQGr9Q7K2JtjMMeeD00QU5i9DhPj7GJhK0Tx2W82RVaj0eG/CUK/+CJTb+/NC wHYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wilmb2bP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si29204759jaj.20.2021.07.21.11.27.37; Wed, 21 Jul 2021 11:27:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wilmb2bP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238248AbhGUM6y (ORCPT + 99 others); Wed, 21 Jul 2021 08:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238369AbhGUM5H (ORCPT ); Wed, 21 Jul 2021 08:57:07 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EDCC061767 for ; Wed, 21 Jul 2021 06:37:30 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id hd33so3272474ejc.9 for ; Wed, 21 Jul 2021 06:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vpBo6pS+05Q4WF57DinU840cssZYXHgBom0RqSKX0GE=; b=Wilmb2bP/BOc3I9eKR0qxPe0iFuQPb6e7gqLR/pce8zTDhslo0b8sJHP3+V5Jvv0tx Mxb54BeNw8i3ZtZ4C3FvOLLRy/PZ18piKWCoHFT9gnnFrDEOkaT2BF13YOYkP3Kch4uZ uyK7Pr348LffMjJn6vFNzWNZfAJqCG+nV7AQ2E9gMj9kIgqwviYFll139BgNYmA598aH eMYKr143soS5gHZbp6+MisZRlWc42dYNT7U8jhnXuDdSYxSj723+RZ4aYK6v/jf+gHCk qjy7DLGym4BXkRNBexKOTGKXgkF2lrQCMDfptJJ5DQkx81Ip+Zkd0vWfjXLIhQ6h/JG9 TpmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vpBo6pS+05Q4WF57DinU840cssZYXHgBom0RqSKX0GE=; b=tsPDgmZ+NeU33UxMgfE42z37vPR/DfH4xK9yOfdq8OkbRbxM6dRuxDI3X1ar3xqwuX LNKvzFYBo2c9KzPfOPXBqlHjo6+Ckj43TVS6+fRzFzvuamxYpmlHWVyUSFt2/sg+8Zqe 1X4Ug4JkXLE3seX631qqUQIMpEoZNPdvdEQzH9GP3ijzS3wUSreYsosbLgutunxFq6xa XvSZ0+BYV2BMaVAl4XoWo2l4ehuklYGHGZJp61SugpcnBfGj5NNOXqsdGTy6s8+wTTjE Gdp2ULhuJziUR4ZUWgpG+4OuXopqfxzZ3YgnJYLJHa3jNYM+oWdZXbPKhKcCjOiQCn1U YEcA== X-Gm-Message-State: AOAM530W9IhaklXEgkoZQ80FGsTNgaIw/65BwbxBl4k/qTWSKpA6vBBo X+jRzIeevyJP06HK9U5Bj3XnOXyBdbI= X-Received: by 2002:a17:906:eb99:: with SMTP id mh25mr38244801ejb.330.1626874648655; Wed, 21 Jul 2021 06:37:28 -0700 (PDT) Received: from agape ([5.171.73.45]) by smtp.gmail.com with ESMTPSA id k21sm8320045ejj.55.2021.07.21.06.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:37:28 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 02/16] staging: rtl8723bs: fix camel case inside function Date: Wed, 21 Jul 2021 15:37:09 +0200 Message-Id: <831b5f56cc6df8885ac61837fe53f63e021b289b.1626874164.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix camel case inside function Hal_GetChnlGroup8723B() Signed-off-by: Fabio Aiuto --- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c index bd0e9f05eb5c..246a5362a54f 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c @@ -2061,18 +2061,18 @@ s32 rtl8723b_InitLLTTable(struct adapter *padapter) return ret; } -static void Hal_GetChnlGroup8723B(u8 Channel, u8 *pGroup) -{ - if (1 <= Channel && Channel <= 2) - *pGroup = 0; - else if (3 <= Channel && Channel <= 5) - *pGroup = 1; - else if (6 <= Channel && Channel <= 8) - *pGroup = 2; - else if (9 <= Channel && Channel <= 11) - *pGroup = 3; - else if (12 <= Channel && Channel <= 14) - *pGroup = 4; +static void Hal_GetChnlGroup8723B(u8 channel, u8 *group) +{ + if (1 <= channel && channel <= 2) + *group = 0; + else if (3 <= channel && channel <= 5) + *group = 1; + else if (6 <= channel && channel <= 8) + *group = 2; + else if (9 <= channel && channel <= 11) + *group = 3; + else if (12 <= channel && channel <= 14) + *group = 4; } void Hal_InitPGData(struct adapter *padapter, u8 *PROMContent) -- 2.20.1