staging: rtl8188eu: replace camelcase field CustomerID
PATCH 1/1 staging: rtl8188eu: replace camelcase field CustomerID
Replace camelcase field CustomerID to customer_id, compliant with linux kernel coding style.
Signed-off-by Alberto Merciai <[email protected]>
--- 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(-)
drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +1 -1
@@ -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;
drivers/staging/rtl8188eu/hal/usb_halinit.c +1 -1
@@ -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 ) {
drivers/staging/rtl8188eu/include/rtl8188e_hal.h +1 -1
@@ -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;
drivers/staging/rtl8188eu/include/rtw_eeprom.h +1 -1
@@ -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 ,
Signature · 1 line
2.25.1
Quoted 2 lines · Alberto Merciai
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