From: Michael Straube Date: Sun, 30 Sep 2018 19:53:00 +0000 (+0200) Subject: staging: rtl8188eu: rename parameter of odm_EVMdbToPercentage() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=de3bb2872ea93945ae3f95b8dc0315882a7cf13a;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8188eu: rename parameter of odm_EVMdbToPercentage() Rename parameter of odm_EVMdbToPercentage() to avoid CamelCase. Value -> value Signed-off-by: Michael Straube Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/odm_hwconfig.c b/drivers/staging/rtl8188eu/hal/odm_hwconfig.c index 07291ca90681..a3a85ad5c66e 100644 --- a/drivers/staging/rtl8188eu/hal/odm_hwconfig.c +++ b/drivers/staging/rtl8188eu/hal/odm_hwconfig.c @@ -49,12 +49,12 @@ static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig) return RetSig; } -static u8 odm_EVMdbToPercentage(s8 Value) +static u8 odm_EVMdbToPercentage(s8 value) { /* -33dB~0dB to 0%~99% */ s8 ret_val; - ret_val = Value; + ret_val = value; if (ret_val >= 0) ret_val = 0;