staging: r8188eu: we only need one struct bb_reg_def for path a
authorMartin Kaiser <martin@kaiser.cx>
Sat, 12 Feb 2022 16:17:37 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:11:23 +0000 (17:11 +0100)
commit841b3f2fb6c685121f5f7b5f58c08a8f35569a63
tree64a63bb8d63794a5a74878df10aa27172aa574a3
parentaa3dfd4613533a1603b096bccb6e62deee515071
staging: r8188eu: we only need one struct bb_reg_def for path a

The r8188eu driver does no longer access rf path b registers via
PHYRegDef.

Change the PHYRegDef array in struct hal_data_8188e to a single
variable that holds the register addresses for rf path a. Remove
the initialisation of path b register addresses.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220212161737.381841-11-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c
drivers/staging/r8188eu/include/rtl8188e_hal.h