diff options
author | Michael Straube <[email protected]> | 2021-08-13 09:31:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-16 09:08:11 +0200 |
commit | 16fe4b303e226739787ee206437bf42b4caf82fe (patch) | |
tree | e155f1d1b2e0c4f224e8f2ad27e673aeac76484f | |
parent | 1cb5715d273e931e093804e0d81145c9edf15ace (diff) |
staging: r8188eu: rename parameter of Hal_GetChnlGroup88E()
Rename parameter of Hal_GetChnlGroup88E() to avoid camel case.
pGroup -> group
Acked-by: Phillip Potter <[email protected]>
Acked-by: Martin Kaiser <[email protected]>
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index d3345fa0eb60..07ba5f0eecc2 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c @@ -2060,20 +2060,20 @@ static void Hal_ReadPowerValueFromPROM_8188E(struct txpowerinfo24g *pwrInfo24G, } } -static void Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup) +static void Hal_GetChnlGroup88E(u8 chnl, u8 *group) { if (chnl < 3) /* Channel 1-2 */ - *pGroup = 0; + *group = 0; else if (chnl < 6) /* Channel 3-5 */ - *pGroup = 1; + *group = 1; else if (chnl < 9) /* Channel 6-8 */ - *pGroup = 2; + *group = 2; else if (chnl < 12) /* Channel 9-11 */ - *pGroup = 3; + *group = 3; else if (chnl < 14) /* Channel 12-13 */ - *pGroup = 4; + *group = 4; else if (chnl == 14) /* Channel 14 */ - *pGroup = 5; + *group = 5; } void Hal_ReadPowerSavingMode88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) |