[0/4] staging: r8188eu: some error logic cleanups

Message ID 20230115210734.18610-1-straube.linux@gmail.com
Headers
Series staging: r8188eu: some error logic cleanups |

Message

Michael Straube Jan. 15, 2023, 9:07 p.m. UTC
  This series converts some more functions away from returning _SUCCESS
and _FAIL.

Tested on x86_64 with Inter-Tech DMG-02.

Michael Straube (4):
  staging: r8188eu: convert PHY_MACConfig8188E() to common error logic
  staging: r8188eu: convert phy_RF6052_Config_ParaFile() to common error
    logic
  staging: r8188eu: convert phy_BB8188E_Config_ParaFile() to common
    error logic
  staging: r8188eu: convert PHY_BBConfig8188E() to common error logic

 drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 35 ++++++++++---------
 drivers/staging/r8188eu/hal/rtl8188e_rf6052.c |  7 ++--
 drivers/staging/r8188eu/hal/usb_halinit.c     | 15 ++++----
 3 files changed, 27 insertions(+), 30 deletions(-)
  

Comments

Philipp Hortmann Jan. 16, 2023, 7:33 p.m. UTC | #1
On 1/15/23 22:07, Michael Straube wrote:
> This series converts some more functions away from returning _SUCCESS
> and _FAIL.
> 
> Tested on x86_64 with Inter-Tech DMG-02.
> 
> Michael Straube (4):
>    staging: r8188eu: convert PHY_MACConfig8188E() to common error logic
>    staging: r8188eu: convert phy_RF6052_Config_ParaFile() to common error
>      logic
>    staging: r8188eu: convert phy_BB8188E_Config_ParaFile() to common
>      error logic
>    staging: r8188eu: convert PHY_BBConfig8188E() to common error logic
> 
>   drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 35 ++++++++++---------
>   drivers/staging/r8188eu/hal/rtl8188e_rf6052.c |  7 ++--
>   drivers/staging/r8188eu/hal/usb_halinit.c     | 15 ++++----
>   3 files changed, 27 insertions(+), 30 deletions(-)
> 

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150