staging: rtl8188eu: rename parameter of odm_EVMdbToPercentage()
authorMichael Straube <straube.linux@gmail.com>
Sun, 30 Sep 2018 19:53:00 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:20:40 +0000 (15:20 -0700)
Rename parameter of odm_EVMdbToPercentage() to avoid CamelCase.
Value -> value

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_hwconfig.c

index 07291ca90681a29c3fdecc97dd4beaef823c26c5..a3a85ad5c66e4d76f231020ee2c76083e8033dc1 100644 (file)
@@ -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;