Re: [PATCH v2 0/3] staging: rtl8723bs: refactor PHY_ConvertTxPowerLimitToPowerIndex()
From: Greg Kroah-Hartman
Date: Fri Oct 02 2026 - 03:56:04 EST
On Fri, Oct 02, 2026 at 04:39:46AM -0300, Leonardo Martins Martins wrote:
> > When doing logic refactoring, testing on the real hardware is best.
>
> Makes sense, so should I be dropping patch 2 where the logic is
> refactored, but still do patch 3 where the inner loop is extracted into
> __phy_tx_power_limit_to_index() to reduce all the indentations?
Yes, that's probably best as it's easiest to "prove" it's correct by
just looking at it.
thanks,
greg k-h