This series removes odm_interface.c, odm_interface.h and odm_precomp.h. The motivation for the removals is the ongoing effort to get grid of the hal layer. Patches 1-11 remove all wrappers from odm_interface.c and finally remove odm_interface.c and its header file. Patches 12-32 remove prototypes from odm_precomp.h by making the functions static and finally remove the header file. Tested on x86_64 with Inter-Tech DMG-02. Michael Straube (32): staging: r8188eu: remove ODM_SetMACReg() staging: r8188eu: remove ODM_GetMACReg() staging: r8188eu: remove ODM_GetRFReg() staging: r8188eu: remove ODM_SetRFReg() staging: r8188eu: remove ODM_GetBBReg() staging: r8188eu: remove ODM_SetBBReg() staging: r8188eu: clean up coding style issues staging: r8188eu: remove ODM_sleep_ms() staging: r8188eu: remove ODM_delay_us() staging: r8188eu: remove ODM_delay_ms() staging: r8188eu: remove ODM_CompareMemory() staging: r8188eu: remove odm_interface staging: r8188eu: make odm_ConfigRFReg_8188E() static staging: r8188eu: remove unused prototypes staging: r8188eu: make odm_DIGInit() static staging: r8188eu: make odm_DIG() static staging: r8188eu: make odm_CommonInfoSelfInit() static staging: r8188eu: make odm_CommonInfoSelfUpdate() static staging: r8188eu: make odm_RateAdaptiveMaskInit() static staging: r8188eu: make odm_RefreshRateAdaptiveMask() static staging: r8188eu: make odm_DynamicBBPowerSavingInit() static staging: r8188eu: make odm_FalseAlarmCounterStatistics() static staging: r8188eu: make odm_CCKPacketDetectionThresh() static staging: r8188eu: make odm_RSSIMonitorCheck() static staging: r8188eu: remove odm_TXPowerTrackingInit() staging: r8188eu: make odm_TXPowerTrackingThermalMeterInit() static staging: r8188eu: make odm_InitHybridAntDiv() static staging: r8188eu: make odm_HwAntDiv() static staging: r8188eu: make ODM_EdcaTurboInit() static staging: r8188eu: make odm_EdcaTurboCheck() static staging: r8188eu: remove unnecessary comments staging: r8188eu: remove header odm_precomp.h drivers/staging/r8188eu/Makefile | 1 - .../r8188eu/hal/Hal8188ERateAdaptive.c | 17 +- .../staging/r8188eu/hal/HalHWImg8188E_BB.c | 1 - .../staging/r8188eu/hal/HalHWImg8188E_MAC.c | 1 - .../staging/r8188eu/hal/HalHWImg8188E_RF.c | 1 - drivers/staging/r8188eu/hal/HalPhyRf_8188e.c | 234 +++-- drivers/staging/r8188eu/hal/odm.c | 890 +++++++++--------- drivers/staging/r8188eu/hal/odm_HWConfig.c | 2 +- drivers/staging/r8188eu/hal/odm_RTL8188E.c | 118 +-- .../staging/r8188eu/hal/odm_RegConfig8188E.c | 58 +- drivers/staging/r8188eu/hal/odm_debug.c | 2 +- drivers/staging/r8188eu/hal/odm_interface.c | 63 -- drivers/staging/r8188eu/include/odm.h | 2 - .../staging/r8188eu/include/odm_RTL8188E.h | 4 - .../r8188eu/include/odm_RegConfig8188E.h | 3 - .../staging/r8188eu/include/odm_interface.h | 42 - drivers/staging/r8188eu/include/odm_precomp.h | 54 -- .../staging/r8188eu/include/rtl8188e_hal.h | 11 +- 18 files changed, 635 insertions(+), 869 deletions(-) delete mode 100644 drivers/staging/r8188eu/hal/odm_interface.c delete mode 100644 drivers/staging/r8188eu/include/odm_interface.h delete mode 100644 drivers/staging/r8188eu/include/odm_precomp.h -- 2.34.1