Re: [PATCH v2 1/3] staging: rtl8723bs: rename local vars in phy_tx_power_limit_to_index()

From: Greg Kroah-Hartman

Date: Fri Oct 02 2026 - 02:11:11 EST


On Fri, Oct 02, 2026 at 01:07:35AM -0300, Leonardo Martins Martins wrote:
> In phy_tx_power_limit_to_index(), there are many mixed-case local
> variables, rename them to adhere to the linux kernel coding style.
>
> Signed-off-by: Leonardo Martins Martins <dev.lmmrtns@xxxxxxxxx>
> ---
> Renamed Variables:
> pHalData -> hal_data
> Adapter -> adapter
> BW40PwrBasedBm2_4G -> pwr_base

"power_base"?

> rateSection -> rs

What's wrong with "rate_selection"? We have lots of characters you can
use :)

> tempValue -> tmp
> tempPwrLmt -> tmp_pwr_lmt
> rfPath -> path

Why isn't this in the changelog text?

thanks,

greg k-h