]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8188eu: Fix spelling
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Fri, 15 Sep 2017 01:34:20 +0000 (18:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:23:40 +0000 (12:23 +0200)
rtl8188eu contains some spelling errors in comment lines as well as in
constants. Harmless as they are, they still make the code feel a bit
unclean, which is not something we want in the kernel.

Improve this by fixing typos so they won't catch eyes of future driver
developers anymore.

Signed-off-by: Wolfgang Hartmann <wolfgang.hartmann@siemens.com>
Signed-off-by: Manish Shrestha <manishshrestha2006@gmail.com>
Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/hal/odm_HWConfig.c
drivers/staging/rtl8188eu/include/odm.h
drivers/staging/rtl8188eu/include/rtl8188e_spec.h

index b9bdff0490ca55736865b363e81390d6a8d480a5..2c4c8c43b1ad14342cfe52bd7d241ec897ff1d98 100644 (file)
@@ -48,7 +48,7 @@ void Efuse_PowerSwitch(
        if (PwrState) {
                usb_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON);
 
-               /*  1.2V Power: From VDDON with Power Cut(0x0000h[15]), defualt valid */
+               /*  1.2V Power: From VDDON with Power Cut(0x0000h[15]), default valid */
                tmpV16 = usb_read16(pAdapter, REG_SYS_ISO_CTRL);
                if (!(tmpV16 & PWC_EV12V)) {
                        tmpV16 |= PWC_EV12V;
index b9ac9c8a66486331b2465b62907368cf40d38eef..b15cf17f77c58586e0133b51bed7d38d80434651 100644 (file)
@@ -1329,7 +1329,7 @@ void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf)
 }
 
 /*
- * _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss
+ * _rtw_join_timeout_handler - Timeout/failure handler for CMD JoinBss
  * @adapter: pointer to struct adapter structure
  */
 void _rtw_join_timeout_handler (unsigned long data)
index 0555e42a3787380de2fabdcb3abe17b44fda0ec1..5fcbe5639e99be7c66fa2952b6b457a387f4cfc9 100644 (file)
@@ -109,7 +109,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
 
                dm_odm->PhyDbgInfo.NumQryPhyStatusCCK++;
                /*  (1)Hardware does not provide RSSI for CCK */
-               /*  (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive) */
+               /*  (2)PWDB, Average PWDB calculated by hardware (for rate adaptive) */
 
                cck_highpwr = dm_odm->bCckHighPower;
 
@@ -223,7 +223,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
                        pPhyInfo->RxSNR[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2);
                        dm_odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2);
                }
-               /*  (2)PWDB, Average PWDB cacluated by hardware (for rate adaptive) */
+               /*  (2)PWDB, Average PWDB calculated by hardware (for rate adaptive) */
                rx_pwr_all = (((pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all) >> 1) & 0x7f) - 110;
 
                PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all);
index 4fb3bb07ceaa6a46ab7f67c018f8901c85fdb6a5..50e2673edbf70e969db7331b26e67cd8eb5d5abd 100644 (file)
@@ -478,7 +478,7 @@ enum odm_operation_mode {
 
 /*  ODM_CMNINFO_WM_MODE */
 enum odm_wireless_mode {
-       ODM_WM_UNKNOW   = 0x0,
+       ODM_WM_UNKNOWN  = 0x0,
        ODM_WM_B        = BIT(0),
        ODM_WM_G        = BIT(1),
        ODM_WM_A        = BIT(2),
index c93e19d1c50f265004d329570b1faac435d0d231..c33d312c40694c2b373135d5df43c2f83017f218 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __RTL8188E_SPEC_H__
 #define __RTL8188E_SPEC_H__
 
-/*        8192C Regsiter offset definition */
+/*        8192C Register offset definition */
 
 #define                HAL_PS_TIMER_INT_DELAY  50      /*   50 microseconds */
 #define                HAL_92C_NAV_UPPER_UNIT  128     /*  micro-second */
@@ -701,7 +701,7 @@ Current IOREG MAP
 
 #define REG_USB_HRPWM                  0xFE58
 #define REG_USB_HCPWM                  0xFE57
-/*        8192C Regsiter Bit and Content definition */
+/*        8192C Register Bit and Content definition */
 /*     0x0000h ~ 0x00FFh       System Configuration */
 
 /* 2 SYS_ISO_CTRL */