[PATCH 00/12] staging: rtl8192e: Join constants in r8192E_phy.h

From: Philipp Hortmann
Date: Tue Mar 14 2023 - 14:42:55 EST


There are a number of constants that change the name with a similar line
like:
#define AGCTAB_ArrayLength AGCTAB_ArrayLengthPciE
This makes code reading very unconfortable as there are always two
searches required where one should do the job. Renaming the two
variables to one to increase readability.

Tested with rtl8192e
Transferred this patch over wlan connection of rtl8192e

Philipp Hortmann (12):
staging: rtl8192e: Join constants AGCTAB_ArrayLength with ..LengthPciE
staging: rtl8192e: Join constants MACPHY_ArrayLength with ..LengthPciE
staging: rtl8192e: Join constants RadioA_ArrayLength with ..LengthPciE
staging: rtl8192e: Join constants RadioB_ArrayLength with ..LengthPciE
staging: rtl8192e: Join constants MACPHY_Array_PGLength with
..LengthPciE
staging: rtl8192e: Join constants PHY_REG_1T2RArray.. with
..LengthPciE
staging: rtl8192e: Join constants Rtl819XMACPHY_..PG with
Rtl8192PciE..
staging: rtl8192e: Join constants Rtl819XMACPHY_.. with Rtl8192PciE..
staging: rtl8192e: Join constants Rtl819XRadioA_.. with ..RadioA_..
staging: rtl8192e: Join constants Rtl819XRadioB_.. with ..RadioB_..
staging: rtl8192e: Join constants Rtl819XAGCTAB_.. with ..PciEAGCTAB..
staging: rtl8192e: Join constants Rtl819XPHY_REG_.. with
..PciEPHY_REG_..

.../staging/rtl8192e/rtl8192e/r8192E_phy.c | 32 +++++++++----------
.../staging/rtl8192e/rtl8192e/r8192E_phy.h | 14 --------
drivers/staging/rtl8192e/rtl8192e/table.c | 12 +++----
drivers/staging/rtl8192e/rtl8192e/table.h | 24 +++++++-------
4 files changed, 34 insertions(+), 48 deletions(-)

--
2.39.2