mirror of https://gitee.com/openkylin/linux.git
staging: rtl8188eu: rename parameter of odm_EVMdbToPercentage()
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>
This commit is contained in:
parent
c8a2da5a2c
commit
de3bb2872e
|
@ -49,12 +49,12 @@ static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig)
|
||||||
return RetSig;
|
return RetSig;
|
||||||
}
|
}
|
||||||
|
|
||||||
static u8 odm_EVMdbToPercentage(s8 Value)
|
static u8 odm_EVMdbToPercentage(s8 value)
|
||||||
{
|
{
|
||||||
/* -33dB~0dB to 0%~99% */
|
/* -33dB~0dB to 0%~99% */
|
||||||
s8 ret_val;
|
s8 ret_val;
|
||||||
|
|
||||||
ret_val = Value;
|
ret_val = value;
|
||||||
|
|
||||||
if (ret_val >= 0)
|
if (ret_val >= 0)
|
||||||
ret_val = 0;
|
ret_val = 0;
|
||||||
|
|
Loading…
Reference in New Issue