Messages in this thread Patch in this message | | | From | Michael Straube <> | Subject | [PATCH 2/3] staging: r8188eu: rename parameter of odm_evm_db_to_percentage() | Date | Fri, 30 Jul 2021 11:09:47 +0200 |
| |
Rename parameter of odm_evm_db_to_percentage() to avoid camel case. Value -> value
Signed-off-by: Michael Straube <straube.linux@gmail.com> --- drivers/staging/r8188eu/hal/odm_HWConfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/r8188eu/hal/odm_HWConfig.c b/drivers/staging/r8188eu/hal/odm_HWConfig.c index 6afe3f9bc47c..51ae02805149 100644 --- a/drivers/staging/r8188eu/hal/odm_HWConfig.c +++ b/drivers/staging/r8188eu/hal/odm_HWConfig.c @@ -77,12 +77,12 @@ static u8 odm_SQ_process_patch_RT_CID_819x_Lenovo(struct odm_dm_struct *dm_odm, return 0; } -static u8 odm_evm_db_to_percentage(s8 Value) +static u8 odm_evm_db_to_percentage(s8 value) { /* -33dB~0dB to 0%~99% */ s8 ret_val; - ret_val = Value; + ret_val = value; if (ret_val >= 0) ret_val = 0; -- 2.32.0
| |