public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8188eu: replace camelcase field CustomerID
@ 2022-01-03 11:11 Alberto Merciai
  2022-01-03 12:04 ` Alberto Merciai
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto Merciai @ 2022-01-03 11:11 UTC (permalink / raw)
  Cc: alb3rt0.m3rciai, linuxfancy, Larry Finger, Greg Kroah-Hartman,
	devel, linux-kernel

Replace camelcase field CustomerID to customer_id, compliant
with linux kernel coding style.

Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c      | 2 +-
 drivers/staging/rtl8188eu/hal/usb_halinit.c      | 2 +-
 drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 2 +-
 drivers/staging/rtl8188eu/include/rtw_eeprom.h   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
index 1af919ff6d93..81d79b39e048 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c
@@ -43,7 +43,7 @@ static void Init_ODM_ComInfo_88E(struct adapter *Adapter)
 	dm_odm->SupportICType = ODM_RTL8188E;
 	dm_odm->CutVersion = ODM_CUT_A;
 	dm_odm->bIsMPChip = hal_data->VersionID.ChipType == NORMAL_CHIP;
-	dm_odm->PatchID = hal_data->CustomerID;
+	dm_odm->PatchID = hal_data->customer_id;
 	dm_odm->bWIFITest = Adapter->registrypriv.wifi_spec;
 
 	dm_odm->AntDivType = hal_data->TRxAntDivType;
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 16a57b31a439..0fa01549bfa7 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -1385,7 +1385,7 @@ void rtw_hal_set_hwreg(struct adapter *Adapter, u8 variable, u8 *val)
 				usb_write32(Adapter, REG_RCR, usb_read32(Adapter, REG_RCR) | RCR_CBSSID_DATA | RCR_CBSSID_BCN);
 
 				if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
-					RetryLimit = (haldata->CustomerID == RT_CID_CCX) ? 7 : 48;
+					RetryLimit = (haldata->customer_id == RT_CID_CCX) ? 7 : 48;
 				else /*  Ad-hoc Mode */
 					RetryLimit = 0x7;
 			} else if (type == 1) {
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
index eb4655ecf6e0..231800f60583 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
@@ -181,7 +181,7 @@ struct txpowerinfo24g {
 
 struct hal_data_8188e {
 	struct HAL_VERSION	VersionID;
-	u16	CustomerID;
+	u16	customer_id;
 	u16	FirmwareVersion;
 	u16	FirmwareVersionRev;
 	u16	FirmwareSubVersion;
diff --git a/drivers/staging/rtl8188eu/include/rtw_eeprom.h b/drivers/staging/rtl8188eu/include/rtw_eeprom.h
index 10525493129b..57b675baf5bc 100644
--- a/drivers/staging/rtl8188eu/include/rtw_eeprom.h
+++ b/drivers/staging/rtl8188eu/include/rtw_eeprom.h
@@ -49,7 +49,7 @@
 /*  EEPROM size consideration. So, we have to perform proper translation
  *  between them.
  */
-/*  Besides, CustomerID of registry has precedence of that of EEPROM. */
+/*  Besides, customer_id of registry has precedence of that of EEPROM. */
 /*  defined below. 060703, by rcnjko. */
 enum RT_CUSTOMER_ID {
 	RT_CID_DEFAULT = 0,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: rtl8188eu: replace camelcase field CustomerID
  2022-01-03 11:11 [PATCH] staging: rtl8188eu: replace camelcase field CustomerID Alberto Merciai
@ 2022-01-03 12:04 ` Alberto Merciai
  0 siblings, 0 replies; 2+ messages in thread
From: Alberto Merciai @ 2022-01-03 12:04 UTC (permalink / raw)
  To: linuxfancy, Larry Finger, Greg Kroah-Hartman, devel, linux-kernel

On Mon, Jan 03, 2022 at 12:11:32PM +0100, Alberto Merciai wrote:
> Replace camelcase field CustomerID to customer_id, compliant
> with linux kernel coding style.
 
Apologize, don't consider it, wrong branch was used.

Regards,
Alberto Merciai

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-03 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-03 11:11 [PATCH] staging: rtl8188eu: replace camelcase field CustomerID Alberto Merciai
2022-01-03 12:04 ` Alberto Merciai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox