linux/drivers/staging/rtl8723bs
Deepak R Varma 11454ddeb2 staging: rtl8723bs: replace underutilized struct by array variable
For structure iqk_matrix_regs_setting, only the "Value" member variable
is utilized whereas the other struct members are only declared but not
utilised. Replace the struct declaration and implementation by an
equivalent variable similar to the only used struct member variable.
While in there, update the macro mixed case names to uppercase style.
The resultant code is simpler and is easy to maintain.

Suggested-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y2ZF6O1KU3zZ6r3C@qemulion
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-08 16:26:49 +01:00
..
core staging: rtl8723bs: Use min/max macros for variable comparison 2022-11-08 16:26:10 +01:00
hal staging: rtl8723bs: replace underutilized struct by array variable 2022-11-08 16:26:49 +01:00
include staging: rtl8723bs: Fix return type for implementation of ndo_start_xmit 2022-09-09 10:37:16 +02:00
os_dep staging: rtl8723bs: replace ternary statement with min_t macro 2022-10-31 09:04:18 +01:00
Kconfig staging: rtl8723bs: fix unmet dependency on CRYPTO for CRYPTO_LIB_ARC4 2021-10-30 11:12:50 +02:00
Makefile staging: rtl8723bs: delete rtw_odm.c and rtw_odm.h 2022-09-09 09:49:47 +02:00
TODO staging: rtl8723bs: remove item from TODO list 2021-06-24 14:43:46 +02:00