Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2562025imm; Sat, 16 Jun 2018 22:35:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK+iVycxL/VK1AypHpSUBvM9H4Hm/KcR09tEH/Tgx6kY9T/IiHkaKwUfLEFWfYD/OvXPynz X-Received: by 2002:a17:902:b285:: with SMTP id u5-v6mr9059350plr.183.1529213703988; Sat, 16 Jun 2018 22:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529213703; cv=none; d=google.com; s=arc-20160816; b=04QFcwvWkiWRIqcZeUecAtY2HC/OpYGEnZ0clkeK22MzPSH7T1S0k6FFYaONLtCUKn u7pRY4bNAdJ/CUwQnoSWI5qtETD2EsE4WeONG7SHlFq9pKKTodLWtrVUxy6zm91ONY/3 oLZ1ilL3Vz0pJLfwIGTjC5FA76Qk3RTNOUCdhzplr+NNsLzMt49Jyheh9eofHFtQocsW o88Ne8DG8WzOyYBAvq8RqkGe9XPsa4eo9Z/YtCRxy223RMHhv2SELm2KWZgkwyZTmnNk 6MsGbP1GdZg1UjXvvCIdn5++bE4djjLQkVrbXfGBHvahs0y3hHHSvLPsVdQYweYhlO1u QO6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IGOj4eSpABqLuNr6mybmzUG90SPVq9ZlFf+nJelSEXE=; b=q/UOkEeYxAO9K8qDM9APDCm6ut0suSqdzuXia2zaEyGlWHqeJFmxHRog6NdK8EZv2E zBXuD2K12fMv+XSKRTUqPYftUiplmXyuYjwhefVVMyRecSbBpEBsy0UtO+BG6U3K5US0 lNYrYU6qeqjit3gC0tllq1uM1jM3yyKbL/zv7+5aAd8mDjRaQoSlgpiTpfraCj5TD1yj zUysqMJkKEF1oHrfVR3h7/1RUV2D4flWSkzcP2PbIlsn/jPobxCgDQdankGSCskZIjyG dz+QXIN0I7+HRYrzbG5/cx+NUOCj/tVibe+vRjpQd8X2j1++nPultKH3+Tp9TBv0F/MJ Vu1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17-v6si4969891pge.451.2018.06.16.22.34.49; Sat, 16 Jun 2018 22:35:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755068AbeFQFcz (ORCPT + 99 others); Sun, 17 Jun 2018 01:32:55 -0400 Received: from mout.perfora.net ([74.208.4.194]:60097 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbeFQFbJ (ORCPT ); Sun, 17 Jun 2018 01:31:09 -0400 Received: from kahja.local ([73.231.184.107]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Lb3fT-1fwaIl08pl-00kdN9; Sun, 17 Jun 2018 07:30:58 +0200 From: Quytelda Kahja To: gregkh@linuxfoundation.org, hadess@hadess.net, hdegoede@redhat.com, Larry.Finger@lwfinger.net Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Quytelda Kahja Subject: [PATCH 02/11] staging: rtl8723bs: Rename PHY_GetTxPowerLimit(). Date: Sat, 16 Jun 2018 22:30:31 -0700 Message-Id: <20180617053040.5903-2-quytelda@tamalin.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180617053040.5903-1-quytelda@tamalin.org> References: <20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owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename camel-case 'PHY_GetTxPowerLimit()' to 'phy_get_tx_pwr_lmt()'. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++--- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 2 +- drivers/staging/rtl8723bs/include/hal_com_phycfg.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index 5f727a7c16fd..4ab624f5ece0 100644 --- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c +++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c @@ -1612,9 +1612,9 @@ static s8 phy_GetChannelIndexOfTxPowerLimit(u8 Band, u8 Channel) return channelIndex; } -s8 PHY_GetTxPowerLimit(struct adapter *Adapter, u32 RegPwrTblSel, - enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth, - u8 RfPath, u8 DataRate, u8 Channel) +s8 phy_get_tx_pwr_lmt(struct adapter *Adapter, u32 RegPwrTblSel, + enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth, + u8 RfPath, u8 DataRate, u8 Channel) { s16 band = -1; s16 regulation = -1; diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c index 50428f688859..78a4828ecb65 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c @@ -688,7 +688,7 @@ u8 PHY_GetTxPowerIndex_8723B( txPower = (s8) PHY_GetTxPowerIndexBase(padapter, RFPath, Rate, BandWidth, Channel, &bIn24G); powerDiffByRate = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, ODM_RF_PATH_A, RF_1TX, Rate); - limit = PHY_GetTxPowerLimit( + limit = phy_get_tx_pwr_lmt( padapter, padapter->registrypriv.RegPwrTblSel, (u8)(!bIn24G), diff --git a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h index c5184315f82f..f841546584a7 100644 --- a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h +++ b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h @@ -177,7 +177,7 @@ u8 Channel, bool *bIn24G ); -s8 PHY_GetTxPowerLimit (struct adapter *adapter, u32 RegPwrTblSel, +s8 phy_get_tx_pwr_lmt (struct adapter *adapter, u32 RegPwrTblSel, enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth, u8 RfPath, u8 DataRate, -- 2.17.1