Remove the rtw_hal_chip_configure() function, as it's just a wrapper
that calls rtl8723bs_interface_configure() directly. Instead, call
rtl8723bs_interface_configure() from the appropriate places. This will
reduce code complexity and improve readability by removing unnecessary
abstraction.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260419072034.19824-2-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
#include <drv_types.h>
#include <hal_data.h>
-void rtw_hal_chip_configure(struct adapter *padapter)
-{
- rtl8723bs_interface_configure(padapter);
-}
-
void rtw_hal_read_chip_info(struct adapter *padapter)
{
ReadAdapterInfo8723BS(padapter);
void rtw_hal_set_hwreg_with_buf(struct adapter *padapter, u8 variable, u8 *pbuf, int len);
-void rtw_hal_chip_configure(struct adapter *padapter);
void rtw_hal_read_chip_info(struct adapter *padapter);
void rtw_hal_read_chip_version(struct adapter *padapter);
******************************************************************************/
#include <drv_types.h>
#include <hal_btcoex.h>
+#include <hal_data.h>
#include <linux/jiffies.h>
#ifndef dev_to_sdio_func
rtw_hal_read_chip_version(padapter);
- rtw_hal_chip_configure(padapter);
+ rtl8723bs_interface_configure(padapter);
hal_btcoex_Initialize((void *)padapter);